We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9783c commit 311ff22Copy full SHA for 311ff22
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
@@ -582,7 +582,8 @@ StringRef dwarfgen::Generator::generate() {
582
StringPool->emit(*Asm, TLOF->getDwarfStrSection(),
583
TLOF->getDwarfStrOffSection());
584
585
- AddressPool.emit(*Asm, TLOF->getDwarfAddrSection(), AddrTableStartSym);
+ if (Asm->getDwarfVersion() >= 5)
586
+ AddressPool.emit(*Asm, TLOF->getDwarfAddrSection(), AddrTableStartSym);
587
588
MS->switchSection(TLOF->getDwarfInfoSection());
589
for (auto &CU : CompileUnits) {
0 commit comments