diff options
Diffstat (limited to 'llvm/lib/IR/LegacyPassManager.cpp')
-rw-r--r-- | llvm/lib/IR/LegacyPassManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/LegacyPassManager.cpp b/llvm/lib/IR/LegacyPassManager.cpp index 110636b..fd69e30 100644 --- a/llvm/lib/IR/LegacyPassManager.cpp +++ b/llvm/lib/IR/LegacyPassManager.cpp @@ -32,7 +32,6 @@ using namespace llvm; -LLVM_ABI extern cl::opt<bool> UseNewDbgInfoFormat; // See PassManagers.h for Pass Manager infrastructure overview. //===----------------------------------------------------------------------===// @@ -530,7 +529,7 @@ bool PassManagerImpl::run(Module &M) { // RemoveDIs: if a command line flag is given, convert to the // DbgVariableRecord representation of debug-info for the duration of these // passes. - ScopedDbgInfoFormatSetter FormatSetter(M, UseNewDbgInfoFormat); + ScopedDbgInfoFormatSetter FormatSetter(M, true); for (ImmutablePass *ImPass : getImmutablePasses()) Changed |= ImPass->doInitialization(M); |