Make the arbitrary section name be something mach-o compatible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203972 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2014-03-14 21:16:54 +00:00
parent 82899d9d60
commit 11bd4866ff

View File

@ -13,7 +13,7 @@
; CHECK: 00000000 <End of list>
; Function Attrs: nounwind uwtable
define i32 @foo(i32 %a) #0 section "foo" {
define i32 @foo(i32 %a) #0 section "__TEXT,__foo" {
entry:
%a.addr = alloca i32, align 4
store i32 %a, i32* %a.addr, align 4