[llvm-bugs] [Bug 24596] New: ud2 instruction is generated with LTO

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 27 02:49:10 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24596

            Bug ID: 24596
           Summary: ud2 instruction is generated with LTO
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: santosh.zanjurne at amd.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14784
  --> https://llvm.org/bugs/attachment.cgi?id=14784&action=edit
llvm ir

clang generates ud2 when attached IR is compiled with LTO.


$ clang -flto  test.ll -shared -o t.so -fpic -m64
$ objdump -D  t.so | grep ud2
 855:   0f 0b                   ud2
$

The issue is not seen without LTO.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150827/15762330/attachment.html>


More information about the llvm-bugs mailing list