aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2023-03-24 17:12:40 +0000
committerSacha Ballantyne <Sacha.Ballantyne@arm.com>2023-03-29 12:01:54 +0000
commitab49747f9d67d82a1cf0f19196ff29f01d4384f5 (patch)
tree71b64ddd409dc2940cfd8f3578076dca5f74ac6f /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parente5132d70ff3a8fc6bc6733fe56f06765962c0279 (diff)
downloadllvm-ab49747f9d67d82a1cf0f19196ff29f01d4384f5.zip
llvm-ab49747f9d67d82a1cf0f19196ff29f01d4384f5.tar.gz
llvm-ab49747f9d67d82a1cf0f19196ff29f01d4384f5.tar.bz2
[NFC][Clang] Move DebugOptions to llvm/Frontend for reuse in Flang
This patch moves the Debug Options to llvm/Frontend so that it can be shared by Flang as well. Reviewed By: kiranchandramohan, awarzynski Differential Revision: https://reviews.llvm.org/D142347
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r--clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
index 2f2126e..07db4a6 100644
--- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
+++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
@@ -158,7 +158,7 @@ public:
// When building a module MainFileName is the name of the modulemap file.
CodeGenOpts.MainFileName =
LangOpts.CurrentModule.empty() ? MainFileName : LangOpts.CurrentModule;
- CodeGenOpts.setDebugInfo(codegenoptions::FullDebugInfo);
+ CodeGenOpts.setDebugInfo(llvm::codegenoptions::FullDebugInfo);
CodeGenOpts.setDebuggerTuning(CI.getCodeGenOpts().getDebuggerTuning());
CodeGenOpts.DebugPrefixMap =
CI.getInvocation().getCodeGenOpts().DebugPrefixMap;