summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-08-24 15:39:07 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-08-24 15:39:07 +0000
commit424619e43c4c887eef42f3f9b1fc8b5646f27ab5 (patch)
tree6d7d95211ba6830dab22ffc4853ab778d1be1dc1 /clang/lib/Frontend/CompilerInvocation.cpp
parent65f6336ff94c1e707cf9f0960a53b426c65cfca2 (diff)
downloadbcm5719-llvm-424619e43c4c887eef42f3f9b1fc8b5646f27ab5.tar.gz
bcm5719-llvm-424619e43c4c887eef42f3f9b1fc8b5646f27ab5.zip
[Driver][OpenMP][CUDA] Add capability to bundle object files in sections of the host binary format.
Summary: This patch adds the capability to bundle object files in sections of the host binary using a designated naming convention for these sections. This patch uses the functionality of the object reader already in the LLVM library to read bundled files, and invokes clang with the incremental linking options to create bundle files. Bundling files involves creating an IR file with the contents of the bundle assigned as initializers of globals binded to the designated sections. This way the bundling implementation is agnostic of the host object format. The features added by this patch were requested in the RFC discussion in http://lists.llvm.org/pipermail/cfe-dev/2016-February/047547.html. Reviewers: echristo, tra, jlebar, hfinkel, ABataev, Hahnfeld Subscribers: mkuron, whchung, cfe-commits, andreybokhanko, Hahnfeld, arpith-jacob, carlo.bertolli, mehdi_amini, caomhin Differential Revision: https://reviews.llvm.org/D21851 llvm-svn: 279634
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud