yota9 wrote: Maybe I'm missing something but why use /dev/null library hack in the first place here? There is [stub.c](https://github.com/llvm/llvm-project/blob/main/bolt/test/Inputs/stub.c) available with puts symbol already, just use it to compile so and link against it, plt entry should appear normally.
https://github.com/llvm/llvm-project/pull/135867 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits