summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b61c55)
raw | patch | inline | side by side (parent: 9b61c55)
author | Nick Lewycky <nicholas@mxc.ca> | |
Thu, 24 Feb 2011 23:15:43 +0000 (23:15 +0000) | ||
committer | Nick Lewycky <nicholas@mxc.ca> | |
Thu, 24 Feb 2011 23:15:43 +0000 (23:15 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp | patch | blob | history |
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index 9c2326cc1f18dd7f35e0303ed18a6bb73f466a25..e7418d294b16adcc10e4ede045dbacbaefc50f69 100644 (file)
void AsmPrinter::EmitSectionOffset(const MCSymbol *Label,
const MCSymbol *SectionLabel) const {
// On COFF targets, we have to emit the special .secrel32 directive.
- if (const char *SecOffDir = MAI->getDwarfSectionOffsetDirective()) {
+ if (MAI->getDwarfSectionOffsetDirective()) {
OutStreamer.EmitCOFFSecRel32(Label);
return;
}