[BOLT] Testcase to repro dyn reloc bug
Add a new testcase that shows a bug in BOLT when writing out dynamic relocations. This is currently marked as XFAIL as we work on solving it. This bug happens when the current strategy fails to recognize that the original dynamic relocation in the input should reference the original .bolt.org.rodata section instead of the new one .rodata created by BOLT after moving jump tables. This bug started happening after 729d29e1. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D125941
Loading
Please sign in to comment