diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2023-08-22 15:56:46 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2023-08-24 09:16:04 -0700 |
commit | b9d78bdc730b2fcfe029a7579c24020536c3fa25 (patch) | |
tree | 17449dea492c55eaa89a03eff8463b202fc2a285 /llvm/lib/CodeGen/BasicBlockSections.cpp | |
parent | 41db54380763c5a60bdc0e1876149db61993c98d (diff) | |
download | llvm-b9d78bdc730b2fcfe029a7579c24020536c3fa25.zip llvm-b9d78bdc730b2fcfe029a7579c24020536c3fa25.tar.gz llvm-b9d78bdc730b2fcfe029a7579c24020536c3fa25.tar.bz2 |
[clang][modules] Use relative offsets for input files
This patch replaces absolute offsets into the input files block with offsets relative to the block start. This makes the whole section "relocatable". I confirmed all other uses of `GetCurrentBitNo()` are turned into relative offsets before being serialized into the AST file.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D158572
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions