Skip to content
  1. Dec 10, 2012
  2. Dec 08, 2012
    • Bill Wendling's avatar
      Add the `lto_codegen_set_export_dynamic' function. · 65a6ee11
      Bill Wendling authored
      This function sets the `_exportDynamic' ivar. When that's set, we export all
      symbols (e.g. we don't run the internalize pass). This is equivalent to the
      `--export-dynamic' linker flag in GNU land:
      
      --export-dynamic
        When creating a dynamically linked executable, add all symbols to the dynamic
        symbol table. The dynamic symbol table is the set of symbols which are visible
        from dynamic objects at run time. If you do not use this option, the dynamic
        symbol table will normally contain only those symbols which are referenced by
        some dynamic object mentioned in the link. If you use dlopen to load a dynamic
        object which needs to refer back to the symbols defined by the program, rather
        than some other dynamic object, then you will probably need to use this option
        when linking the program itself.
      
      The Darwin linker will support this via the `-export_dynamic' flag. We should
      modify clang to support this via the `-rdynamic' flag.
      
      llvm-svn: 169656
      65a6ee11
    • Jim Grosbach's avatar
      Add C API for specifying CPU to the disassembler. · 0ca9d5b7
      Jim Grosbach authored
      It was a nasty oversight that we didn't include this when we added this
      API in the first place. Blech.
      
      rdar://12839439
      
      llvm-svn: 169653
      0ca9d5b7
  3. Dec 05, 2012
    • Michael J. Spencer's avatar
      Quick build fix for c++03 clang. This needs a proper solution. Note that these... · 6fa518c5
      Michael J. Spencer authored
      Quick build fix for c++03 clang. This needs a proper solution. Note that these offsets are guaranteed to be correct by Endian.h.
      
      llvm-svn: 169438
      6fa518c5
    • Michael J. Spencer's avatar
      Add dump of Win64 EH unwind data. · 0c6ec48d
      Michael J. Spencer authored
      The new command line option -unwind-info dumps the Win64 EH unwind
      data to the console. This is a nice feature if you need to debug
      generated EH data (e.g. from LLVM). Includes a test case.
      
      Initial patch by João Matos, extensions and rework by Kai Nacke.
      
      llvm-svn: 169415
      0c6ec48d
    • Kevin Enderby's avatar
      Added a option to the disassembler to print immediates as hex. · 168ffb36
      Kevin Enderby authored
      This is for the lldb team so most of but not all of the values are
      to be printed as hex with this option.  Some small values like the
      scale in an X86 address were requested to printed in decimal
      without the leading 0x.
      
      There may be some tweaks need to places that may still be in
      decimal that they want in hex.  Specially for arm.  I made my best
      guess.  Any tweaks from here should be simple.
      
      I also did the best I know now with help from the C++ gurus
      creating the cleanest formatImm() utility function and containing
      the changes.  But if someone has a better idea to make something
      cleaner I'm all ears and game for changing the implementation.
      
      rdar://8109283
      
      llvm-svn: 169393
      168ffb36
  4. Dec 04, 2012
    • Chandler Carruth's avatar
      Sort the #include lines for tools/... · 4d88a1c2
      Chandler Carruth authored
      Again, tools are trickier to pick the main module header for than
      library source files. I've started to follow the pattern of using
      LLVMContext.h when it is included as a stub for program source files.
      
      llvm-svn: 169252
      4d88a1c2
  5. Nov 30, 2012
    • Jakob Stoklund Olesen's avatar
      Add a -time-compilations=<N> option to llc. · 2776b4c6
      Jakob Stoklund Olesen authored
      This causes llc to repeat the module compilation N times, making it
      possible to get more accurate information from -time-passes when
      compiling small modules.
      
      llvm-svn: 169040
      2776b4c6
    • Chandler Carruth's avatar
      Move the InstVisitor utility into VMCore where it belongs. It heavily · dbd69581
      Chandler Carruth authored
      depends on the IR infrastructure, there is no sense in it being off in
      Support land.
      
      This is in preparation to start working to expand InstVisitor into more
      special-purpose visitors that are still generic and can be re-used
      across different passes. The expansion will go into the Analylis tree
      though as nothing in VMCore needs it.
      
      llvm-svn: 168972
      dbd69581
  6. Nov 29, 2012
  7. Nov 28, 2012
  8. Nov 27, 2012
  9. Nov 24, 2012
    • Benjamin Kramer's avatar
      libLTO: Add a utility method to initialize the disassemblers. · 9bcb9226
      Benjamin Kramer authored
      Necessary to give disassembler users (like darwin's otool) a possibility to
      dlopen libLTO and still initialize the required LLVM bits. This used to go
      through libMCDisassembler but that's a gross layering violation, the MC layer
      can't pull in functions from the targets. Adding a function to libLTO is a bit
      of a hack but not worse than exposing other disassembler bits from libLTO.
      
      Fixes PR14362.
      
      llvm-svn: 168545
      9bcb9226
  10. Nov 23, 2012
  11. Nov 21, 2012
  12. Nov 20, 2012
  13. Nov 18, 2012
  14. Nov 16, 2012
  15. Nov 15, 2012
  16. Nov 13, 2012
  17. Nov 12, 2012
  18. Nov 08, 2012
  19. Nov 07, 2012
  20. Nov 05, 2012
    • Andrew Kaylor's avatar
      Add a method to indicate section address re-assignment is finished. · a714efc1
      Andrew Kaylor authored
      Prior to this patch RuntimeDyld attempted to re-apply relocations every time reassignSectionAddress was called (via MCJIT::mapSectionAddress).  In addition to being inefficient and redundant, this led to a problem when a section was temporarily moved too far away from another section with a relative relocation referencing the section being moved.  To fix this, I'm adding a new method (finalizeObject) which the client can call to indicate that it is finished rearranging section addresses so the relocations can safely be applied.
      
      llvm-svn: 167400
      a714efc1
    • Jim Grosbach's avatar
      lli: Initialize the native asm parser for inline assembly. · 2cce3f91
      Jim Grosbach authored
      MCJIT supports inline assembly, but requires the asm parser to do so.
      Make sure to link it in and initialize it.
      
      llvm-svn: 167392
      2cce3f91
  21. Nov 01, 2012
  22. Oct 31, 2012
  23. Oct 29, 2012
Loading