[LLVMdev] Bug in X86CompilationCallback_SSE

Corrado Zoccolo czoccolo at gmail.com
Fri Mar 20 14:33:04 PDT 2009


I've created a patch (attached to the bug):
http://llvm.org/bugs/attachment.cgi?id=2744, that goes in a different
direction, and solves the safety problems.
The patch uses original asm, but removes the call through plt, and
puts the invoked function in an anonymous namespace. This allows the
static linker to always know the location of the jump, removing the
need for PIC invocation setup.
This is tested with g++ 4.2 .

Corrado



More information about the llvm-dev mailing list