[PATCH] Extend C disassembler API to allow specifying target features

Bradley Smith bradley.smith at arm.com
Tue Sep 23 09:25:56 PDT 2014


Currently it is not possible to use the C disassembler API with a triple and arbitrary feature set, only with a triple and CPU. This patch extends that to allow subtarget features to be specified in addition to a triple/CPU.

This patch only extends the current C API and does not change the interface of existing functions.

http://reviews.llvm.org/D5468

Files:
  include/llvm-c/Disassembler.h
  lib/MC/MCDisassembler/Disassembler.cpp
  test/Bindings/llvm-c/disassemble.test
  tools/llvm-c-test/disassemble.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5468.13997.patch
Type: text/x-patch
Size: 8566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140923/09ee584c/attachment.bin>


More information about the llvm-commits mailing list