[PATCH] Fix illegal relocations in X86FastISel

Kostya Serebryany kcc at google.com
Sun Jun 15 23:52:16 PDT 2014


+samsonov (for test/DebugInfo/X86/debug-loc-asan.ll)


On Sat, Jun 14, 2014 at 1:42 AM, Louis Gerbarg <lgg at apple.com> wrote:

> 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
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140616/7e64abfd/attachment.html>


More information about the llvm-commits mailing list