forked from OSchip/llvm-project
MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have
been removed. llvm-svn: 127812
This commit is contained in:
parent
9647d3ca02
commit
f1d62cfc8f
|
@ -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);
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o %t
|
||||
// RUN: macho-dump %t | FileCheck %s
|
||||
|
||||
// CHECK: # Section 1
|
||||
// CHECK: ('flags', 0x0)
|
||||
.section __TEXT,__objc_opt_ro
|
||||
.long 0
|
Loading…
Reference in New Issue