[llvm-branch-commits] [llvm] [BOLT][test] Fix callcont-fallthru.s after #129481 (PR #135867)

Vladislav Khmelevsky via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 30 00:03:55 PDT 2025


yota9 wrote:

@paschalis-mpeis  Could you please check if the binaries are identical and it is indeed nm problem? E.g. with objdump, is plt entry is there? Maybe there is problem related to the plt section type, e.g. one of the binaries has .plt.sec or .plt.got section and there is some kind of but in nm that not lists symbols from these sections.  Then we can use custom linker script with .plt section only.
My next suggestion would be just using llvm-nm here is to pass llvm-nm with --nmtool arg to link_fdata.py, since the [lit.cfg.py](https://github.com/llvm/llvm-project/blob/main/bolt/test/lit.cfg.py#L118) has it in the list of mandatory tools for bolt testing, so we won't have environment dependencies here.  Maybe even add nmtool as an link_fdata_cmd arg in lit.cfg.py , so all test would use it by default...

https://github.com/llvm/llvm-project/pull/135867


More information about the llvm-branch-commits mailing list