diff options
author | Mingming Liu <mingmingl@google.com> | 2024-05-16 16:16:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 16:16:19 -0700 |
commit | fa9b1be45088dce1e4b602d451f118128b94237b (patch) | |
tree | 5d672159f6706912d7759c0c63737ba467e0f64e /lldb/source/Commands/CommandObjectThread.cpp | |
parent | fe4d5f0d0e457a0a7dec2c7dc87996706b30a25e (diff) | |
download | llvm-fa9b1be45088dce1e4b602d451f118128b94237b.zip llvm-fa9b1be45088dce1e4b602d451f118128b94237b.tar.gz llvm-fa9b1be45088dce1e4b602d451f118128b94237b.tar.bz2 |
[ThinLTO]Mark referencers of local ifunc not eligible for import (#92431)
If an ifunc has local linkage, do not add it into ref edges and mark its
referencer (a function or global variable) not eligible for import. An
ifunc doesn't have summary and ThinLTO cannot promote it. Importing the
referencer may cause linkage errors.
To reference a similar fix, https://reviews.llvm.org/D158961 marks
callers of local ifunc not eligible for import to fix
https://github.com/llvm/llvm-project/issues/58740
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions