Skip to content
  1. Sep 01, 2011
  2. Aug 30, 2011
  3. Aug 24, 2011
  4. Aug 19, 2011
  5. Aug 16, 2011
  6. Aug 01, 2011
    • Chandler Carruth's avatar
      I mis-interpreted the MCDisassembler's intended dependencies. Now to fix · 09fae1f2
      Chandler Carruth authored
      them properly. Specifically, the disassembler clearly attempts to
      initialiaze all TargetInfo, MCTargeDesc, AsmParser, and Disassembler
      sublibraries of registered targets. This makes the CMakeLists accurately
      reflect this intent in the code.
      
      This should fix the last of the link errors that I have gotten reports
      of on OS X, but if anyone continues to see link errors, continue to
      pester me and I'll look into it.
      
      llvm-svn: 136603
      09fae1f2
  7. Jul 29, 2011
    • Chandler Carruth's avatar
      On mac, it seems the MC disassembler is actually using the targetinfo · 35664776
      Chandler Carruth authored
      for targets that don't have an MC-ized disassembler. I'm suspicious that
      this shouldn't actually be happening, but hoping to fix the CMake build
      on macs first, and investigate why second.
      
      llvm-svn: 136508
      35664776
    • Chandler Carruth's avatar
      Fix the MCDisassembler dependencies. These were just absurdly wrong. · bc836c2c
      Chandler Carruth authored
      First off, only depend on the actual MC-ized disassemblers in the
      targets, not all of the libraries those in turn depend on.
      
      Second off, only depend on those MC-ized disassemblers for targets we're
      building.
      
      This should fix builds of fewer than all targets.
      
      llvm-svn: 136455
      bc836c2c
    • Chandler Carruth's avatar
      Rewrite the CMake build to use explicit dependencies between libraries, · 9d7feab3
      Chandler Carruth authored
      specified in the same file that the library itself is created. This is
      more idiomatic for CMake builds, and also allows us to correctly specify
      dependencies that are missed due to bugs in the GenLibDeps perl script,
      or change from compiler to compiler. On Linux, this returns CMake to
      a place where it can relably rebuild several targets of LLVM.
      
      I have tried not to change the dependencies from the ones in the current
      auto-generated file. The only places I've really diverged are in places
      where I was seeing link failures, and added a dependency. The goal of
      this patch is not to start changing the dependencies, merely to move
      them into the correct location, and an explicit form that we can control
      and change when necessary.
      
      This also removes a serialization point in the build because we don't
      have to scan all the libraries before we begin building various tools.
      We no longer have a step of the build that regenerates a file inside the
      source tree. A few other associated cleanups fall out of this.
      
      This isn't really finished yet though. After talking to dgregor he urged
      switching to a single CMake macro to construct libraries with both
      sources and dependencies in the arguments. Migrating from the two macros
      to that style will be a follow-up patch.
      
      Also, llvm-config is still generated with GenLibDeps.pl, which means it
      still has slightly buggy dependencies. The internal CMake
      'llvm-config-like' macro uses the correct explicitly specified
      dependencies however. A future patch will switch llvm-config generation
      (when using CMake) to be based on these deps as well.
      
      This may well break Windows. I'm getting a machine set up now to dig
      into any failures there. If anyone can chime in with problems they see
      or ideas of how to solve them for Windows, much appreciated.
      
      llvm-svn: 136433
      9d7feab3
  8. Jul 26, 2011
  9. Jul 25, 2011
  10. Jul 23, 2011
  11. Jul 22, 2011
  12. Jul 20, 2011
  13. Jul 19, 2011
  14. Jul 18, 2011
  15. Jul 15, 2011
  16. Jul 11, 2011
    • Shantonu Sen's avatar
      Resynchronize EDInfo.h and EDEmitter.cpp. · 761feb85
      Shantonu Sen authored
      The enum names as well as order (i.e. value)
      had skewed, which means that consumers of the
      tablegen-ed table would see different values than
      intended. Make both files have a superset of enums,
      and add classification as needed for numMCOperands.
      
      Reviewed by Owen Anderson
      
      llvm-svn: 134905
      761feb85
  17. Jul 09, 2011
  18. Jul 08, 2011
    • Evan Cheng's avatar
      Eliminate asm parser's dependency on TargetMachine: · 4d1ca96b
      Evan Cheng authored
      - Each target asm parser now creates its own MCSubtatgetInfo (if needed).
      - Changed AssemblerPredicate to take subtarget features which tablegen uses
        to generate asm matcher subtarget feature queries. e.g.
        "ModeThumb,FeatureThumb2" is translated to
        "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0".
      
      llvm-svn: 134678
      4d1ca96b
  19. Jul 06, 2011
  20. Jun 30, 2011
  21. May 22, 2011
  22. Apr 24, 2011
  23. Apr 20, 2011
  24. Apr 15, 2011
  25. 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
  26. Apr 09, 2011
  27. Apr 07, 2011
  28. Apr 05, 2011
  29. Mar 29, 2011
  30. Mar 28, 2011
    • Ted Kremenek's avatar
      Unbreak CMake build. · 2d456934
      Ted Kremenek authored
      llvm-svn: 128426
      2d456934
    • 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
Loading