diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-02-04 12:51:10 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-02-04 15:13:32 -0500 |
commit | eeb29c8477d96ad821b3283dad8ed060a3426118 (patch) | |
tree | 77cdef59493eded379812848213cbb3046104dd2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b8ec430de71766d9a35a6b737c8a789c0c7cf812 (diff) | |
download | llvm-eeb29c8477d96ad821b3283dad8ed060a3426118.zip llvm-eeb29c8477d96ad821b3283dad8ed060a3426118.tar.gz llvm-eeb29c8477d96ad821b3283dad8ed060a3426118.tar.bz2 |
[OpenMP] Add -Bsymbolic to arguments for GNU linker
This patch adds the '-Bsymbolic' flag when we perform linking for the
offloading device. We already pass '-fvisibility=protected' but this is
not properly handled when using the bfd linker as is described in
https://maskray.me/blog/2021-05-16-elf-interposition-and-bsymbolic.
Previously this caused linker errors when creating the shared library.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D119018
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions