veecle / tricore-probe

Just like probe-run but targeting the Tricore-Architecture
Apache License 2.0
18 stars 5 forks source link

Use llvm objcopy and addr2line #4

Open hlehser opened 6 months ago

hlehser commented 6 months ago

Since the tricore rust toolchain is based on the LLVM backend the tools objcopy and addr2line from the LLVM toolchain should be used rename:

therealfrauholle commented 6 months ago

This is a good idea especially for the windows setup, but we still want to keep compatibility with the normal GNU tools.

I suggest that we before invoking the command, we check for availability of the executables with <tool> --version, this allows us to support both tools.