summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-03-17 16:25:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-03-17 16:25:24 +0000
commit8d06ffca9b72ebef7f5b8830b7ccbd9dd74f8e18 (patch)
tree83b738b7d2b48cc932b69b1b2201a00e33bbdaf8 /lib
parent7bbf0ee97c77f7712154648a44ac6eeb57886462 (diff)
downloadllvm-8d06ffca9b72ebef7f5b8830b7ccbd9dd74f8e18.tar.gz
llvm-8d06ffca9b72ebef7f5b8830b7ccbd9dd74f8e18.tar.bz2
llvm-8d06ffca9b72ebef7f5b8830b7ccbd9dd74f8e18.tar.xz
MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have
been removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCParser/DarwinAsmParser.cpp b/lib/MC/MCParser/DarwinAsmParser.cpp
index e1f49c2609..f01f866846 100644
--- a/lib/MC/MCParser/DarwinAsmParser.cpp
+++ b/lib/MC/MCParser/DarwinAsmParser.cpp
@@ -434,7 +434,8 @@ bool DarwinAsmParser::ParseDirectiveSection(StringRef, SMLoc) {
StringRef Segment, Section;
- unsigned TAA, StubSize;
+ unsigned StubSize;
+ unsigned TAA = 0;
std::string ErrorStr =
MCSectionMachO::ParseSectionSpecifier(SectionSpec, Segment, Section,
TAA, StubSize);