From: Puyan Lotfi Date: Mon, 14 Oct 2019 18:57:29 +0000 (+0000) Subject: [clang][IFS][test] Fixing lit test breakages on macOS due to r374798 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e25c9a4d72d96e7a87927d9eb42ceead4c1cf5e4;p=clang [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374805 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/InterfaceStubs/inline.c b/test/InterfaceStubs/inline.c index 6f0cb519ca..b724f1e658 100644 --- a/test/InterfaceStubs/inline.c +++ b/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/test/InterfaceStubs/object.c b/test/InterfaceStubs/object.c index 0687e2c811..e81b82754e 100644 --- a/test/InterfaceStubs/object.c +++ b/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;