Skip to content
  1. Apr 11, 2011
    • Kevin Enderby's avatar
      Adding support for printing operands symbolically to llvm's public 'C' · 9377a52c
      Kevin Enderby authored
      disassembler API.  Hooked this up to the ARM target so such tools as Darwin's
      otool(1) can now print things like branch targets for example this:
        blx _puts
      instead of this:
        blx #-36
      And even print the expression encoded in the Mach-O relocation entried for
      things like this:
        movt r0, :upper16:((_foo-_bar)+1234)
      
      llvm-svn: 129284
      9377a52c
  2. Apr 09, 2011
  3. Mar 29, 2011
  4. Mar 28, 2011
    • Kevin Enderby's avatar
      Again adding a C API to the disassembler for use by such tools as Darwin's · f3070dc4
      Kevin Enderby authored
      otool(1), this time with the needed fix for case sensitive file systems :) .
      This is a work in progress as the interface for producing symbolic operands is
      not done.  But a hacked prototype using information from the object file's
      relocation entiries and replacing immediate operands with MCExpr's has been
      shown to work with no changes to the instrucion printer.  These APIs will be
      moved into a dynamic library at some point.
      
      llvm-svn: 128415
      f3070dc4
  5. Mar 26, 2011
Loading