[PATCH] Fix illegal relocations in X86FastISel
Louis Gerbarg
lgerbarg at apple.com
Fri Jun 13 14:03:28 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.
Louis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-illegal-relocations-in-X86FastISel.patch
Type: application/octet-stream
Size: 3665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140613/e9baf0dc/attachment.obj>
More information about the llvm-commits
mailing list