[llvm-bugs] [Bug 42873] New: Disassembler chokes on some X86 instructions with Option_SetInstrComments

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 2 12:22:52 PDT 2019


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

            Bug ID: 42873
           Summary: Disassembler chokes on some X86 instructions with
                    Option_SetInstrComments
           Product: libraries
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: gabriel.corona at enst-bretagne.fr
                CC: llvm-bugs at lists.llvm.org

Created attachment 22332
  --> https://bugs.llvm.org/attachment.cgi?id=22332&action=edit
Minimal code for reproducing the bug

When the Option_SetInstrComments options is enables, the disassembler chokes on
somes x86 instructions suchs as:

- punpcklqdq
- pshufd

The disassembler gets into some busy loops and consome all available memory.

This as been testes on both LLVM 6 and LLVM 8 (both from Debian testing and
Arch).

See a minimal code for reproducing the problem as attachement and [1] for the
original but report (with some details).

[1] https://github.com/randomstuff/unjit/issues/1

-- 
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/20190802/3b0b6c08/attachment.html>


More information about the llvm-bugs mailing list