release/19.x: [BOLT] Fix relocations handling
authorVladislav Khmelevsky <och95@yandex.ru>
Sat, 27 Jul 2024 19:07:59 +0000 (23:07 +0400)
committerTobias Hieta <tobias@hieta.se>
Tue, 20 Aug 2024 07:17:10 +0000 (09:17 +0200)
commitbb46c721211b901f7ab34551e4bb240308203da9
treedb2fd026941170689183f6a13c399875006f011e
parent8595e91b16dadc33fbb321cfd30b77f43f64e10e
release/19.x: [BOLT] Fix relocations handling

Backport https://github.com/llvm/llvm-project/commit/097ddd3565f830e6cb9d0bb8ca66844b7f3f3cbb
bolt/lib/Rewrite/RewriteInstance.cpp
bolt/test/AArch64/Inputs/build_id.ldscript [new file with mode: 0644]
bolt/test/AArch64/build_id.c [new file with mode: 0644]
bolt/test/X86/Inputs/build_id.yaml [new file with mode: 0644]
bolt/test/X86/build_id.test [new file with mode: 0644]