aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorGeorgeHuyubo <113479859+GeorgeHuyubo@users.noreply.github.com>2025-11-06 12:48:21 -0800
committerGitHub <noreply@github.com>2025-11-06 12:48:21 -0800
commitfce58897ce82de84c8d794609132eb547b2b4871 (patch)
treea297c8936b07821db1520464ec4bd0538db4dc84 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc12cb2892c808af459eaa270b8738a2b375ecc9b (diff)
downloadllvm-fce58897ce82de84c8d794609132eb547b2b4871.zip
llvm-fce58897ce82de84c8d794609132eb547b2b4871.tar.gz
llvm-fce58897ce82de84c8d794609132eb547b2b4871.tar.bz2
[lldb] Enable locate module callback for all module loading (#160199)
Main executables were bypassing the locate module callback that shared libraries use, preventing custom symbol file location logic from working consistently. This PR fix this by * Adding target context to ModuleSpec * Leveraging that context to use target search path and platform's locate module callback in ModuleList::GetSharedModule This ensures both main executables and shared libraries get the same callback treatment for symbol file resolution. --------- Co-authored-by: George Hu <hyubo@meta.com> Co-authored-by: George Hu <georgehuyubo@gmail.com>
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions