[clang][IFS][test] Fixing lit test breakages on macOS due to r374798
authorPuyan Lotfi <puyan@puyan.org>
Mon, 14 Oct 2019 18:57:29 +0000 (18:57 +0000)
committerPuyan Lotfi <puyan@puyan.org>
Mon, 14 Oct 2019 18:57:29 +0000 (18:57 +0000)
Adding the quotes breaks tests because on Darwin the name mangling is prefixed
with an underscore.

llvm-svn: 374805

clang/test/InterfaceStubs/inline.c
clang/test/InterfaceStubs/object.c

index 6f0cb51..b724f1e 100644 (file)
@@ -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"
index 0687e2c..e81b827 100644 (file)
@@ -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;