-
Notifications
You must be signed in to change notification settings - Fork 667
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
FIH_LABEL
fails with lld
#1981
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The LLVM linker supports fairly aggressive dead code elimination. The way we are inserting labels for the FIH tools, causes the LLVM linker to consider various blocks of following code to be dead and eliminates them. The result is code that executes somewhat nonsensically, and in a way that is difficult to debug.
#1980 adds a workaround for Apple targets by just not inserting the labels, but it would be nice to figure out a way to add these that the LLVM linker doesn't eliminate.
The text was updated successfully, but these errors were encountered: