diff options
author | Fangrui Song <i@maskray.me> | 2025-07-17 00:36:10 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-07-17 00:36:11 -0700 |
commit | 3cb0c7f45b97802ddc13a15560fbbca2efb75326 (patch) | |
tree | 10adcb53a82017b1fd8c208b1cc1b18b92700137 /clang/unittests/Format/ConfigParseTest.cpp | |
parent | 34c85337424fde5796154d0cb390b39175291373 (diff) | |
download | llvm-3cb0c7f45b97802ddc13a15560fbbca2efb75326.zip llvm-3cb0c7f45b97802ddc13a15560fbbca2efb75326.tar.gz llvm-3cb0c7f45b97802ddc13a15560fbbca2efb75326.tar.bz2 |
MC: Rework .reloc directive and fix the offset when it evaluates to a constant
* Fix `.reloc constant` to mean section_symbol+constant instead of
.+constant . The initial .reloc support from MIPS incorrectly
interpreted the offset.
* Delay the evaluation of the offset expression after
MCAssembler::layout, deleting a lot of code working with MCFragment.
* Delete many FIXME from https://reviews.llvm.org/D79625
* Some lld/ELF/Arch/LoongArch.cpp relaxation tests rely on .reloc .,
R_LARCH_ALIGN generating ALIGN relocations at specific location.
Sort the relocations.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions