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: unassignedclangb...@nondot.org
          Reporter: santosh.zanju...@amd.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to