diff options
author | Devang Patel <dpatel@apple.com> | 2009-03-27 23:16:32 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-03-27 23:16:32 +0000 |
commit | afc1c1d405e91e8a18dc25b132346aeeba9ee81f (patch) | |
tree | 031c8b085950e59bbf807330704aa715f7e6b929 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 333489bba35d91e4ddb101f441087177c492d090 (diff) | |
download | bcm5719-llvm-afc1c1d405e91e8a18dc25b132346aeeba9ee81f.tar.gz bcm5719-llvm-afc1c1d405e91e8a18dc25b132346aeeba9ee81f.zip |
Do not emit debug information for variables while generating optimized code. The llvm optimizer and code generator are not yet ready to support optimized code debugging.
llvm-svn: 67876
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 228020ca79c..dbfbf028af0 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -159,6 +159,7 @@ public: CGDebugInfo *getDebugInfo() { return DebugInfo; } ASTContext &getContext() const { return Context; } + const CompileOptions &getCompileOpts() const { return CompileOpts; } const LangOptions &getLangOptions() const { return Features; } llvm::Module &getModule() const { return TheModule; } CodeGenTypes &getTypes() { return Types; } |