llvm-project
68494ae0 - [XRay] xray_fn_idx: fix alignment directive

Commit
160 days ago
[XRay] xray_fn_idx: fix alignment directive Use `emitValueToAlignment` as the section does not contain code. `emitCodeAlignment` would lead to ALIGN relocations on RISC-V and LoongArch with linker relaxation. In addition, change the alignment to wordsize, sufficient for the runtime requirement (`XRayFunctionSledIndex`). Related to #147322
Author
Parents
Loading