Initial checkin of the LLVM source-level debugger. This is still not finished,
by any stretch of the imagination, but it is pretty cool and works :) llvm-svn: 10685
This commit is contained in:
27
llvm/lib/Debugger/SourceLanguage-CPlusPlus.cpp
Normal file
27
llvm/lib/Debugger/SourceLanguage-CPlusPlus.cpp
Normal file
@@ -0,0 +1,27 @@
|
||||
//===-- SourceLanguage-CPlusPlus.cpp - C++ SourceLanguage impl ------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by the LLVM research group and is distributed under
|
||||
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file implements the SourceLanguage class for the C++ language.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Debugger/SourceLanguage.h"
|
||||
using namespace llvm;
|
||||
|
||||
#if 0
|
||||
namespace {
|
||||
struct CPPSL : public SourceLanguage {
|
||||
} TheCPlusPlusLanguageInstance;
|
||||
}
|
||||
#endif
|
||||
|
||||
const SourceLanguage &SourceLanguage::getCPlusPlusInstance() {
|
||||
return get(0); // We don't have an implementation for C yet fall back on
|
||||
// generic
|
||||
}
|
||||
Reference in New Issue
Block a user