paschalis-mpeis wrote:

Great. A quick way to use an llvm tool could be:
```bash 
llvm-objdump -d -j .plt %t | grep @plt
```

This produces output similar to what `nm --synthetic` produces (when it works):
```bash
0000000000001430 <puts@plt>:
```

You'll need ofc to tweak `link_fdata` to properly parse symbol+address:
https://github.com/llvm/llvm-project/blob/fb8d61d8163f1439749a62be614c09215fe65e9f/bolt/test/link_fdata.py#L96-L99

Not sure of any cleaner approach? (@yota9, @MaskRay)

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

Reply via email to