aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-02-21 10:07:37 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2022-03-14 20:08:24 -0400
commit806bbc49dc07465eddc883b09d48dd93fb64d147 (patch)
tree6f9cee2f7b7dce6dbde37d52fdbf773b0f7532fd /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentc4500de255c3b3088f903d6be1913e8e8c504482 (diff)
downloadllvm-806bbc49dc07465eddc883b09d48dd93fb64d147.zip
llvm-806bbc49dc07465eddc883b09d48dd93fb64d147.tar.gz
llvm-806bbc49dc07465eddc883b09d48dd93fb64d147.tar.bz2
[OpenMP] Try to embed offloading objects after codegen
Currently we use the `-fembed-offload-object` option to embed a binary file into the host as a named section. This is currently only used as a codegen action, meaning we only handle this option correctly when the input is a bitcode file. This patch adds the same handling to embed an offloading object after we complete code generation. This allows us to embed the object correctly if the input file is source or bitcode. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D120270
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions