diff options
author | Puyan Lotfi <puyan@puyan.org> | 2019-10-14 18:57:29 +0000 |
---|---|---|
committer | Puyan Lotfi <puyan@puyan.org> | 2019-10-14 18:57:29 +0000 |
commit | 4e4b4f4099a6fdff9caba93535c8f5e23f10a40f (patch) | |
tree | 43dca1de2fcaa611702a1577a0aa5868048dc987 /clang/test/InterfaceStubs | |
parent | d5768e3d0e887ba75222c6ceda9c6fa2c93e00c1 (diff) | |
download | bcm5719-llvm-4e4b4f4099a6fdff9caba93535c8f5e23f10a40f.tar.gz bcm5719-llvm-4e4b4f4099a6fdff9caba93535c8f5e23f10a40f.zip |
[clang][IFS][test] Fixing lit test breakages on macOS due to r374798
Adding the quotes breaks tests because on Darwin the name mangling is prefixed
with an underscore.
llvm-svn: 374805
Diffstat (limited to 'clang/test/InterfaceStubs')
-rw-r--r-- | clang/test/InterfaceStubs/inline.c | 4 | ||||
-rw-r--r-- | clang/test/InterfaceStubs/object.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/InterfaceStubs/inline.c b/clang/test/InterfaceStubs/inline.c index 6f0cb519ca4..b724f1e6583 100644 --- a/clang/test/InterfaceStubs/inline.c +++ b/clang/test/InterfaceStubs/inline.c @@ -56,8 +56,8 @@ INLINE int foo() { // RUN: -c -std=gnu89 -xc %s | llvm-nm - 2>&1 | \ // RUN: FileCheck -check-prefix=CHECK-SYMBOLS %s -// CHECK-TAPI-DAG: "foo" : { Type: Func } -// CHECK-TAPI-DAG: "foo.var" : { Type: Object, Size: 4 } +// CHECK-TAPI-DAG: foo" : { Type: Func } +// CHECK-TAPI-DAG: foo.var" : { Type: Object, Size: 4 } // CHECK-SYMBOLS-DAG: foo // CHECK-SYMBOLS-DAG: foo.var #include "inline.h" diff --git a/clang/test/InterfaceStubs/object.c b/clang/test/InterfaceStubs/object.c index 0687e2c811d..e81b82754e5 100644 --- a/clang/test/InterfaceStubs/object.c +++ b/clang/test/InterfaceStubs/object.c @@ -2,6 +2,6 @@ // RUN: %clang -fvisibility=default -c -o - -emit-interface-stubs %s | FileCheck -check-prefix=CHECK-SYMBOLS %s // RUN: %clang -fvisibility=default -c -o - %s | llvm-nm - 2>&1 | FileCheck -check-prefix=CHECK-SYMBOLS %s -// CHECK-TAPI: "data" : { Type: Object, Size: 4 } +// CHECK-TAPI: data" : { Type: Object, Size: 4 } // CHECK-SYMBOLS: data int data = 42; |