diff options
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 4a0db9d..ad15f13 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -103,7 +103,6 @@ namespace llvm { extern FunctionSummary::ForceSummaryHotnessType ForceSummaryEdgesCold; } -extern bool WriteNewDbgInfoFormatToBitcode; extern llvm::cl::opt<bool> UseNewDbgInfoFormat; namespace { @@ -3710,7 +3709,7 @@ void ModuleBitcodeWriter::writeFunction( // they come after the instruction so that it's easy to attach them again // when reading the bitcode, even though conceptually the debug locations // start "before" the instruction. - if (I.hasDbgRecords() && WriteNewDbgInfoFormatToBitcode) { + if (I.hasDbgRecords()) { /// Try to push the value only (unwrapped), otherwise push the /// metadata wrapped value. Returns true if the value was pushed /// without the ValueAsMetadata wrapper. |