[PATCH] Fix illegal relocations in X86FastISel
lgg at apple.com
Fri Jun 13 14:42:55 PDT 2014
It turns out we have been generating illegal relocations in X86FastISel when compiling static 64 bit code for years. In many cases the illegal code actually worked because of how the binaries were laid out, but it could also fail or generate bad code.
As it turns out this mis-generated code also happens to be occur in the test case test/DebugInfo/X86/debug-loc-asan.ll, so the fix breaks that. I have included fixes for that test case as well, but someone should look it over as I am not familiar with the asan annotations.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3665 bytes
Desc: not available
More information about the llvm-commits