Author: zer0 Date: Mon Oct 14 11:57:29 2019 New Revision: 374805 URL: http://llvm.org/viewvc/llvm-project?rev=374805&view=rev Log: [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. Modified: cfe/trunk/test/InterfaceStubs/inline.c cfe/trunk/test/InterfaceStubs/object.c Modified: cfe/trunk/test/InterfaceStubs/inline.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/InterfaceStubs/inline.c?rev=374805&r1=374804&r2=374805&view=diff ============================================================================== --- cfe/trunk/test/InterfaceStubs/inline.c (original) +++ cfe/trunk/test/InterfaceStubs/inline.c Mon Oct 14 11:57:29 2019 @@ -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" Modified: cfe/trunk/test/InterfaceStubs/object.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/InterfaceStubs/object.c?rev=374805&r1=374804&r2=374805&view=diff ============================================================================== --- cfe/trunk/test/InterfaceStubs/object.c (original) +++ cfe/trunk/test/InterfaceStubs/object.c Mon Oct 14 11:57:29 2019 @@ -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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits