[PATCH] D73531: [llvm-objdump] avoid crash disassembling unknown instruction

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 01:19:56 PST 2020


grimar added a comment.

You should be able to use yaml2obj tool to create an object for a test case.
I think you can just create a section `.text` with a content and place your instruction there:

  Sections:
    - Name: .text
      Type: SHT_PROGBITS
      Content: "AABB" ## instruction


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73531/new/

https://reviews.llvm.org/D73531





More information about the llvm-commits mailing list