summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-04-22 22:49:11 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-04-22 22:49:11 +0000
commit034ca0fe418fcdedc7bc9f4f4efeaf1783ff41c7 (patch)
tree5d967a3a5ea791afeb216ed5d51a68ebe93699d3 /llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
parent04d4e9312c69ef1fa4896e9289beeb3e763e7415 (diff)
downloadbcm5719-llvm-034ca0fe418fcdedc7bc9f4f4efeaf1783ff41c7.tar.gz
bcm5719-llvm-034ca0fe418fcdedc7bc9f4f4efeaf1783ff41c7.zip
Remove unused DwarfSectionOffsetDirective string
The value isn't actually used, and setting it emits a COFF specific directive. llvm-svn: 180064
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index 156acace553..31e42d47cf4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
@@ -141,7 +141,7 @@ void AsmPrinter::EmitTTypeReference(const GlobalValue *GV,
void AsmPrinter::EmitSectionOffset(const MCSymbol *Label,
const MCSymbol *SectionLabel) const {
// On COFF targets, we have to emit the special .secrel32 directive.
- if (MAI->getDwarfSectionOffsetDirective()) {
+ if (MAI->needsDwarfSectionOffsetDirective()) {
OutStreamer.EmitCOFFSecRel32(Label);
return;
}
OpenPOWER on IntegriCloud