[llvm] d0bfb3c - DebugInfo: Remove out of date comment
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 21 23:15:29 PST 2019
Author: David Blaikie
Date: 2019-12-21T23:13:26-08:00
New Revision: d0bfb3c583031f410e8219155f0cf9ee8fb08504
URL: https://github.com/llvm/llvm-project/commit/d0bfb3c583031f410e8219155f0cf9ee8fb08504
DIFF: https://github.com/llvm/llvm-project/commit/d0bfb3c583031f410e8219155f0cf9ee8fb08504.diff
LOG: DebugInfo: Remove out of date comment
Added:
Modified:
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index b2b98f19ca1c..38011102c7b3 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -78,10 +78,6 @@ DwarfCompileUnit::DwarfCompileUnit(unsigned UID, const DICompileUnit *Node,
void DwarfCompileUnit::addLabelAddress(DIE &Die, dwarf::Attribute Attribute,
const MCSymbol *Label) {
// Don't use the address pool in non-fission or in the skeleton unit itself.
- // FIXME: Once GDB supports this, it's probably worthwhile using the address
- // pool from the skeleton - maybe even in non-fission (possibly fewer
- // relocations by sharing them in the pool, but we have other ideas about how
- // to reduce the number of relocations as well/instead).
if ((!DD->useSplitDwarf() || !Skeleton) && DD->getDwarfVersion() < 5)
return addLocalLabelAddress(Die, Attribute, Label);
More information about the llvm-commits
mailing list