-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[Orc][examples] Fix lljit-with-remote-debugging test failure #74764
Conversation
Test lljit-with-remote-debugging fails on AArch64 because the argc_sub1_elf.ll input file have a x86_64 target triple. Since there is no way to set the target triple when invoking LLJITWithRemoteDebugging let's require x86_64 target to be the default target.
@RoboTux @weliveindetail I don't think that |
Yes, we could try that. Otherwise, running the test only on x86_64 would be fine too. |
I tried but then it complains that there is no target "". Perhaps it's worth fixing orc to support an empty target. |
…st (#74831) #74764 reported that the `lljit-with-remote-debugging` test fails on AArch64 hosts, because the input IR file states arch x86_64 explicitly. In order to drop the target triple we have to remove a check in the example implementation. Not sure it's fully portable now, but at least it's better than before.
Dropping since #74831 has been merged. |
I missed this earlier -- that's a good idea. |
That's been done by Stefan in d86a937. |
Stefan's change was to the testcase. I was proposing to change |
Oh right, I didn't realize LLJITWithRemoteDebugging is a test only binary. My bad. |
I started drafting a PR with some maintenance on implementation and tests for advanced LLJIT examples here: #76236 |
Test lljit-with-remote-debugging fails on AArch64 because the
argc_sub1_elf.ll input file have a x86_64 target triple. Since there is
no way to set the target triple when invoking LLJITWithRemoteDebugging
let's require x86_64 target to be the default target.