aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorAlpha Abdoulaye <aabdoulaye@apple.com>2023-10-24 10:36:57 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2023-10-24 10:39:08 -0700
commit122c89b271af30b86536cad7bac64ea9c56615ed (patch)
tree3c76f319549c6a0bbdce795dcaadfc6df1fd2166 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent4c28e666a75805cf453c0d4ed153bfbc779c45c5 (diff)
downloadllvm-122c89b271af30b86536cad7bac64ea9c56615ed.zip
llvm-122c89b271af30b86536cad7bac64ea9c56615ed.tar.gz
llvm-122c89b271af30b86536cad7bac64ea9c56615ed.tar.bz2
[dsymutil] Add support for mergeable libraries
This adds support in dsymutil for mergeable libraries [1]. dsymutil reads a new stab emitted by ld, allowing it to operate on dynamic libraries instead of object files. It also now loads the DWARF files associated to the libraries, and build the debug map for each binary from the list of symbols exported by the library. For each Debug Map Object, there is a new associated Relocation Map which is serialized from the information retrieved in the original debug_info (or debug_addr) section of the .o file. The final DWARF file has multiple compile units, so the offsets information of the relocations are adjusted relatively to the compile unit they will end up belonging to, inside the final linked DWARF file. [1] https://developer.apple.com/documentation/xcode/configuring-your-project-to-use-mergeable-libraries Differential revision: https://reviews.llvm.org/D158124
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions