[clang] c72aef9 - [clang][IFS][test] Removing -shared, fixing triple: driver-test.c/windows.cpp.

Puyan Lotfi via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 23:45:42 PST 2019


Author: Puyan Lotfi
Date: 2019-11-14T02:43:40-05:00
New Revision: c72aef999c3359f4305bf99116be604e16844aab

URL: https://github.com/llvm/llvm-project/commit/c72aef999c3359f4305bf99116be604e16844aab
DIFF: https://github.com/llvm/llvm-project/commit/c72aef999c3359f4305bf99116be604e16844aab.diff

LOG: [clang][IFS][test] Removing -shared, fixing triple: driver-test.c/windows.cpp.

Removing -shared as it is not used on a lot of targets in order to green failing
bots with this change. Also, tiding up the windows.cpp test as the
triple compile out can look slightly different that what you specified
on a windows bot.

Added: 
    

Modified: 
    clang/test/InterfaceStubs/driver-test.c
    clang/test/InterfaceStubs/windows.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/InterfaceStubs/driver-test.c b/clang/test/InterfaceStubs/driver-test.c
index 512745276e5a..b61bed10e77c 100644
--- a/clang/test/InterfaceStubs/driver-test.c
+++ b/clang/test/InterfaceStubs/driver-test.c
@@ -1,7 +1,7 @@
 // REQUIRES: x86-registered-target
 
-// RUN: %clang -target x86_64-unknown-linux-gnu -shared -x c -o %t1.so -emit-interface-stubs %s %S/object.c %S/weak.cpp
-// RUN: llvm-nm %t1.so   2>&1 | FileCheck %s
+// RUN: %clang -target x86_64-unknown-linux-gnu -x c -o %t1 -emit-interface-stubs %s %S/object.c %S/weak.cpp
+// RUN: llvm-nm %t1   2>&1 | FileCheck %s
 // RUN: llvm-nm %t1.ifso 2>&1 | FileCheck %s
 
 // CHECK-DAG: data

diff  --git a/clang/test/InterfaceStubs/windows.cpp b/clang/test/InterfaceStubs/windows.cpp
index 609145b3def0..9ccb771a2f39 100644
--- a/clang/test/InterfaceStubs/windows.cpp
+++ b/clang/test/InterfaceStubs/windows.cpp
@@ -7,7 +7,7 @@
 
  // CHECK-IFS: --- !experimental-ifs-v1
  // CHECK-IFS: IfsVersion:      1.0
- // CHECK-IFS: Triple:          x86_64-unknown-windows-msvc19.11.0
+ // CHECK-IFS: Triple:
  // CHECK-IFS: Symbols:
  // CHECK-IFS:   ?helloWindowsMsvc@@YAHXZ: { Type: Func }
  // CHECK-IFS: ...


        


More information about the cfe-commits mailing list