summaryrefslogtreecommitdiffstats
path: root/clang/test/InterfaceStubs/template-namespace-function.cpp
diff options
context:
space:
mode:
authorPuyan Lotfi <puyan@puyan.org>2019-10-02 22:50:07 +0000
committerPuyan Lotfi <puyan@puyan.org>2019-10-02 22:50:07 +0000
commit406de17b9b93f1065954b6e80b1aa54b32a73a14 (patch)
tree57b1641b0a3ea40144144b293b9838e03950efce /clang/test/InterfaceStubs/template-namespace-function.cpp
parent6b45029676e5d0b5eb5baddab919c511881dd186 (diff)
downloadbcm5719-llvm-406de17b9b93f1065954b6e80b1aa54b32a73a14.tar.gz
bcm5719-llvm-406de17b9b93f1065954b6e80b1aa54b32a73a14.zip
[clang][ifs] Clang Interface Stubs ToolChain plumbing.
This patch enables end to end support for generating ELF interface stubs directly from clang. Now the following: clang -emit-interface-stubs -o libfoo.so a.cpp b.cpp c.cpp will product an ELF binary with visible symbols populated. Visibility attributes and -fvisibility can be used to control what gets populated. * Adding ToolChain support for clang Driver IFS Merge Phase * Implementing a default InterfaceStubs Merge clang Tool, used by ToolChain * Adds support for the clang Driver to involve llvm-ifs on ifs files. * Adds -emit-merged-ifs flag, to tell llvm-ifs to emit a merged ifs text file instead of the final object format (normally ELF) Differential Revision: https://reviews.llvm.org/D63978 llvm-svn: 373538
Diffstat (limited to 'clang/test/InterfaceStubs/template-namespace-function.cpp')
-rw-r--r--clang/test/InterfaceStubs/template-namespace-function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/InterfaceStubs/template-namespace-function.cpp b/clang/test/InterfaceStubs/template-namespace-function.cpp
index 4956525b406..ad8606757c9 100644
--- a/clang/test/InterfaceStubs/template-namespace-function.cpp
+++ b/clang/test/InterfaceStubs/template-namespace-function.cpp
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
-// RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs \
+// RUN: %clang -target x86_64-unknown-linux-gnu -o - -emit-interface-stubs -emit-merged-ifs \
// RUN: -interface-stub-version=experimental-ifs-v1 %s | \
// RUN: FileCheck %s
OpenPOWER on IntegriCloud