summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-01-03 02:16:44 +0000
committerEric Christopher <echristo@gmail.com>2014-01-03 02:16:44 +0000
commit50effa04372a0340bd51ca9f9bc11be1a52ed8df (patch)
tree36e8c3bc71bd9b8868ef48af9dd1b97c0dda6285 /llvm/lib/CodeGen
parent25dc1e1d1953280ea0bf01e34d228e20ff350de5 (diff)
downloadbcm5719-llvm-50effa04372a0340bd51ca9f9bc11be1a52ed8df.tar.gz
bcm5719-llvm-50effa04372a0340bd51ca9f9bc11be1a52ed8df.zip
Remove TextSectionSym as it is unused.
llvm-svn: 198393
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 2b9efae3299..0f2d1493dfc 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -187,8 +187,7 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
InfoHolder(A, "info_string", DIEValueAllocator),
SkeletonHolder(A, "skel_string", DIEValueAllocator) {
- DwarfInfoSectionSym = DwarfAbbrevSectionSym = 0;
- DwarfStrSectionSym = TextSectionSym = 0;
+ DwarfInfoSectionSym = DwarfAbbrevSectionSym = DwarfStrSectionSym = 0;
DwarfDebugRangeSectionSym = DwarfDebugLocSectionSym = DwarfLineSectionSym = 0;
DwarfAddrSectionSym = 0;
DwarfAbbrevDWOSectionSym = DwarfStrDWOSectionSym = 0;
@@ -2043,8 +2042,6 @@ void DwarfDebug::emitSectionLabels() {
DwarfDebugLocSectionSym =
emitSectionSym(Asm, TLOF.getDwarfLocSection(), "section_debug_loc");
-
- TextSectionSym = emitSectionSym(Asm, TLOF.getTextSection(), "text_begin");
}
// Recursively emits a debug information entry.
OpenPOWER on IntegriCloud