mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
llvm-mc: zerofill shouldn't print quotes around the section,segment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56ce0f415c
commit
12de0df59f
@ -190,8 +190,7 @@ void MCAsmStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol,
|
||||
|
||||
// This is a mach-o specific directive.
|
||||
const MCSectionMachO *MOSection = ((const MCSectionMachO*)Section);
|
||||
OS << '"' << MOSection->getSegmentName() << ","
|
||||
<< MOSection->getSectionName() << '"';
|
||||
OS << MOSection->getSegmentName() << "," << MOSection->getSectionName();
|
||||
|
||||
if (Symbol != NULL) {
|
||||
OS << ',' << Symbol << ',' << Size;
|
||||
|
@ -1,9 +1,9 @@
|
||||
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
||||
|
||||
# CHECK: TEST0:
|
||||
# CHECK: .zerofill "__FOO,__bar",x,1
|
||||
# CHECK: .zerofill "__FOO,__bar",y,8,2
|
||||
# CHECK: .zerofill "__EMPTY,__NoSymbol"
|
||||
# CHECK: .zerofill __FOO,__bar,x,1
|
||||
# CHECK: .zerofill __FOO,__bar,y,8,2
|
||||
# CHECK: .zerofill __EMPTY,__NoSymbol
|
||||
TEST0:
|
||||
.zerofill __FOO, __bar, x, 2-1
|
||||
.zerofill __FOO, __bar, y , 8 , 1+1
|
||||
|
Loading…
Reference in New Issue
Block a user