diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-22 13:24:07 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-22 13:24:07 +0000 |
commit | d7bdaf5795b3c3d5d08381cb078c80d39ed8da74 (patch) | |
tree | 73163b6e9cd47ece15c3fc1f68a380b6d1f666c3 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 5b01415dc03c03783166ac6317c83f898efc2d79 (diff) | |
download | bcm5719-llvm-d7bdaf5795b3c3d5d08381cb078c80d39ed8da74.tar.gz bcm5719-llvm-d7bdaf5795b3c3d5d08381cb078c80d39ed8da74.zip |
Fix a FIXME: DwarfRequiresRelocationForSectionOffset is the same as
DwarfUsesRelocationsAcrossSections.
llvm-svn: 158992
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 1e4ef5fbdbb..d0ab258b29c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -566,7 +566,7 @@ CompileUnit *DwarfDebug::constructCompileUnit(const MDNode *N) { NewCU->addUInt(Die, dwarf::DW_AT_low_pc, dwarf::DW_FORM_addr, 0); // DW_AT_stmt_list is a offset of line number information for this // compile unit in debug_line section. - if (Asm->MAI->doesDwarfRequireRelocationForSectionOffset()) + if (Asm->MAI->doesDwarfUseRelocationsAcrossSections()) NewCU->addLabel(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_data4, Asm->GetTempSymbol("section_line")); else |