diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-05-14 01:45:24 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-14 01:45:24 +0000 |
| commit | 7911002bf9c656cb9ae2a1a61f55a7dd7bc36380 (patch) | |
| tree | ed5d50183a08325ac2825d7ed863c1173fe4ef72 /clang/test | |
| parent | f2a2e338ffecff485893425b819e96c65aced043 (diff) | |
| download | bcm5719-llvm-7911002bf9c656cb9ae2a1a61f55a7dd7bc36380.tar.gz bcm5719-llvm-7911002bf9c656cb9ae2a1a61f55a7dd7bc36380.zip | |
We need to specify the "linkage name" to the subprogram now that we
emit the correct "display name". I suspect we need more work here, see
FIXME for example.
llvm-svn: 71761
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGenObjC/debug-info.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/debug-info.m b/clang/test/CodeGenObjC/debug-info.m index 178e51cf273..c4b94261457 100644 --- a/clang/test/CodeGenObjC/debug-info.m +++ b/clang/test/CodeGenObjC/debug-info.m @@ -1,5 +1,8 @@ // RUN: clang-cc -triple i386-apple-darwin9 -g -emit-llvm -o %t %s && -// RUN: grep -F 'internal constant [8 x i8] c"-[A m0]\00"' %t +// RUN: grep '@.str3 = internal constant \[8 x i8\] c"-\[A m0\]\\00"' %t && +// RUN: grep '@.str4 = internal constant \[9 x i8\] c"\\01-\[A m0\]\\00"' %t && +// RUN: grep '@llvm.dbg.subprogram = .* @.str3, .* @.str3, .* @.str4,' %t && +// RUN: true @interface A @end @implementation A |

