]> granicus.if.org Git - clang/commitdiff
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374805 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 6f0cb519ca4edf7c9a797ec59838ff059d616610..b724f1e6583bf56cc1b90aea84b573989c896953 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 0687e2c811d66fb5234ec9892690faa8462dad48..e81b82754e5798e1f890e366d700627f1c20407c 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;