aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorbd1976bris <Ben.Dunbobbin@sony.com>2025-08-01 09:38:46 +0100
committerGitHub <noreply@github.com>2025-08-01 09:38:46 +0100
commit673476d96bed306be6ed81a8174f481a9a4b2934 (patch)
treed420f6b33f017c53943e3d095986702f4a839cf5 /lldb/unittests/ScriptInterpreter/Python
parent965231ca0a9a65ec72b5a4bc7e03f3299082536d (diff)
downloadllvm-673476d96bed306be6ed81a8174f481a9a4b2934.zip
llvm-673476d96bed306be6ed81a8174f481a9a4b2934.tar.gz
llvm-673476d96bed306be6ed81a8174f481a9a4b2934.tar.bz2
[DTLTO][LLD][ELF] Support bitcode members of thin archives (#149425)
This patch adds support for bitcode members of thin archives to DTLTO (https://llvm.org/docs/DTLTO.html) in ELF LLD. For DTLTO, bitcode identifiers must be valid paths to bitcode files on disk. Clang does not support archive inputs for ThinLTO backend compilations. This patch adjusts the identifier for bitcode members of thin archives in DTLTO links so that it is the path to the member file on disk, allowing such members to be supported in DTLTO. This patch is sufficient to allow for self-hosting an LLVM build with DTLTO when thin archives are used. Note: Bitcode members of non-thin archives remain unsupported. This will be addressed in a future change. Testing: - LLD lit test coverage has been added to check that the identifier is adjusted appropriately. - A cross-project lit test has been added to show that a DTLTO link can succeed when linking bitcode members of thin archives. For the design discussion of the DTLTO feature, see: #126654.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions