Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use llvm objcopy and addr2line #4

Open
hlehser opened this issue Feb 7, 2024 · 1 comment
Open

Use llvm objcopy and addr2line #4

hlehser opened this issue Feb 7, 2024 · 1 comment

Comments

@hlehser
Copy link

hlehser commented Feb 7, 2024

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

  • objcopy -> llvm-objcopy
  • addrline -> llvm-addr2line
@therealfrauholle
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants