Make the arbitrary section name be something mach-o compatible.
authorEric Christopher <echristo@gmail.com>
Fri, 14 Mar 2014 21:16:54 +0000 (21:16 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 14 Mar 2014 21:16:54 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203972 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/cu-ranges.ll

index 9780cff7b94c2faef92232d903eb4a86666884e7..14eca434b83ee623acb2817cd1db3138f777a970 100644 (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