aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen/ModuleBuilder.h
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2008-05-08 08:54:20 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2008-05-08 08:54:20 +0000
commite8b9f5b8ea60983c4a74cb8b63879616b914b65a (patch)
tree12fefe9c0746176f5f7dae2f26a3a6c9aa4bbfe8 /include/clang/CodeGen/ModuleBuilder.h
parent56cf96b3ea9a0027b29e11c47b90719525c13bc6 (diff)
Added -g command line options to clang for generating source level debug information. This patch currently enables generation of line number debug information (stoppoints) and region begin/end debug information. The new files CGDebugInfo.h and CGDebugInfo.cpp implements the debug info manager class CGDebugInfo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h
index 8abb377f80..b6ec1cf142 100644
--- a/include/clang/CodeGen/ModuleBuilder.h
+++ b/include/clang/CodeGen/ModuleBuilder.h
@@ -24,7 +24,8 @@ namespace clang {
class ASTConsumer;
ASTConsumer *CreateLLVMCodeGen(Diagnostic &Diags, const LangOptions &Features,
- llvm::Module *&DestModule);
+ llvm::Module *&DestModule,
+ bool GenerateDebugInfo);
}
#endif