diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-01-05 05:25:10 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-01-05 05:25:10 +0000 |
| commit | 3bb92c65fdf1b358951f9c42c5eb20fa1581411d (patch) | |
| tree | ffdedcaa39064e3776a5481306bb676d5f1d7307 /llvm/lib/Debugger/SourceLanguage-CFamily.cpp | |
| parent | 67822803d0f0723086c03ecedb98a46f7352f9fa (diff) | |
| download | bcm5719-llvm-3bb92c65fdf1b358951f9c42c5eb20fa1581411d.tar.gz bcm5719-llvm-3bb92c65fdf1b358951f9c42c5eb20fa1581411d.zip | |
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
Diffstat (limited to 'llvm/lib/Debugger/SourceLanguage-CFamily.cpp')
| -rw-r--r-- | llvm/lib/Debugger/SourceLanguage-CFamily.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/llvm/lib/Debugger/SourceLanguage-CFamily.cpp b/llvm/lib/Debugger/SourceLanguage-CFamily.cpp new file mode 100644 index 00000000000..392c07c818e --- /dev/null +++ b/llvm/lib/Debugger/SourceLanguage-CFamily.cpp @@ -0,0 +1,28 @@ +//===-- SourceLanguage-CFamily.cpp - C family 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 family of languages +// (K&R C, C89, C99, etc). +// +//===----------------------------------------------------------------------===// + +#include "llvm/Debugger/SourceLanguage.h" +using namespace llvm; + +#if 0 +namespace { + struct CSL : public SourceLanguage { + } TheCSourceLanguageInstance; +} +#endif + +const SourceLanguage &SourceLanguage::getCFamilyInstance() { + return get(0); // We don't have an implementation for C yet fall back on + // generic +} |

