summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-06-22 13:32:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-06-22 13:32:49 +0000
commitea5916619053527a72d9cc5b11db666f8892e73d (patch)
tree3792ff9c2ad2c3f0ea10f85c7e93c922ddd97663 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parentd7bdaf5795b3c3d5d08381cb078c80d39ed8da74 (diff)
downloadbcm5719-llvm-ea5916619053527a72d9cc5b11db666f8892e73d.tar.gz
bcm5719-llvm-ea5916619053527a72d9cc5b11db666f8892e73d.zip
Remove another duplicated variable. We only need one to tell us if the linker
knows dwarf or not. llvm-svn: 158993
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 2d6dc804635..d8647616ac1 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -613,7 +613,7 @@ bool AsmPrinter::needsSEHMoves() {
}
bool AsmPrinter::needsRelocationsForDwarfStringPool() const {
- return MAI->doesDwarfUseRelocationsForStringPool();
+ return MAI->doesDwarfUseRelocationsAcrossSections();
}
void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
OpenPOWER on IntegriCloud