llvm-project/clang/test/InterfaceStubs
Puyan Lotfi 73429126c9 [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3)
Third Landing Attempt (dropping any linker invocation from clang driver):

Up until now, clang interface stubs has replaced the standard
PP -> C -> BE -> ASM -> LNK pipeline. With this change, it will happen in
conjunction with it. So what when you build your code you will get an
a.out or lib.so as well as an interface stub file.

Example:

clang -shared -o libfoo.so -emit-interface-stubs ...

will generate both a libfoo.so and a libfoo.ifso. The .so file will
contain the code from the standard compilation pipeline and the .ifso
file will contain the ELF stub library.

Note: For driver-test.c I've added -S in order to prevent any bot failures on
bots that don't have the proper linker for their native triple. You could always
specify a triple like x86_64-unknown-linux-gnu and on bots like x86_64-scei-ps4
the clang driver would invoke regular ld instead of getting the error
'Executable "orbis-ld" doesn't exist!' but on bots like ppc64be and s390x you'd
get an error "/usr/bin/ld: unrecognised emulation mode: elf_x86_64"

Differential Revision: https://reviews.llvm.org/D70274
2019-11-20 16:22:50 -05:00
..
bad-format.cpp [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
class-template-partial-specialization.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
class-template-specialization.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
conflict-type.ifs [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
cxx-conversion.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
driver-test.c [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3) 2019-11-20 16:22:50 -05:00
driver-test2.c [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3) 2019-11-20 16:22:50 -05:00
externstatic.c [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
func.ifs [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
function-template-specialization.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
hidden-class-inheritance.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
indirect-field-decl.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
inline.c [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
inline.h [NFC] Fix for InterfaceStubs tests (adding REQUIRES: x86-registered-target). 2019-06-20 18:28:21 +00:00
merge-conflict-test.c [clang][IFS] Updating tests to pass on -fvisibility=hidden builds (NFCi). 2019-10-12 02:46:57 +00:00
namespace.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
non-type-template-parm-decl.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
noninstancetypes.c [clang][IFS] Fixing assert in clang interface stubs for enums, records, typedefs 2019-10-11 17:24:11 +00:00
object-double.c [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
object-float.c [clang][IFS] Updating tests to pass on -fvisibility=hidden builds (NFCi). 2019-10-12 02:46:57 +00:00
object.c [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
object.ifs [clang][ifs] Clang Interface Stubs ToolChain plumbing. 2019-10-08 15:23:14 +00:00
ppc.cpp [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3) 2019-11-20 16:22:50 -05:00
template-constexpr.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
template-namespace-function.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
template-template-parm-decl.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
trycatch.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
usings.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
var-template-specialization-decl.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
virtual.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
visibility.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
weak.cpp [clang][IFS][test][NFC] Tightening up clang-ifs tests to use -cc1 more often. 2019-11-14 02:25:22 -05:00
windows.cpp [clang][IFS] Driver Pipeline: generate stubs after standard pipeline (3) 2019-11-20 16:22:50 -05:00