- Dec 04, 2012
-
-
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
-
- Nov 30, 2012
-
-
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
-
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
-
- Nov 29, 2012
-
-
Pedro Artigas authored
start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass llvm-svn: 168905
-
- Nov 28, 2012
-
-
Bill Wendling authored
This is for backwards compatibility for pre-3.x bc files. The code reads the code, but does nothing with it. llvm-svn: 168779
-
- Nov 27, 2012
-
-
Andrew Kaylor authored
The functionality of SectionMemoryManager is equivalent to the LLIMCJITMemoryManager being replaced except that it allocates memory as RW and later changes it to RX or R as needed. The page permissions are set in the call to MCJIT::finalizeObject. llvm-svn: 168722
-
Bill Wendling authored
The dependent libraries feature was never used and has bit-rotted. Remove it. llvm-svn: 168694
-
Andrew Kaylor authored
llvm-svn: 168665
-
Owen Anderson authored
Revert r168635 "Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model". It appears to have broken at least one buildbot. llvm-svn: 168654
-
Owen Anderson authored
Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model Patch by Pedro Artigas, with feedback from by Chandler Carruth. llvm-svn: 168635
-
- Nov 24, 2012
-
-
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
-
- Nov 23, 2012
-
-
Rafael Espindola authored
it will expand any .cfi_* directives in the input assembly. Unfortunately this cannot replace elf-dump in tests as the asm streamer cannot relax the line advance opcodes. llvm-svn: 168522
-
- Nov 21, 2012
-
-
Andrew Kaylor authored
llvm-svn: 168459
-
- Nov 20, 2012
-
-
Eli Bendersky authored
conformant to binutils objdump. llvm-svn: 168393
-
- Nov 18, 2012
-
-
NAKAMURA Takumi authored
XFAIL(s) can be removed. llvm-svn: 168282
-
- Nov 16, 2012
-
-
Andrew Kaylor authored
Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded. llvm-svn: 168114
-
- Nov 15, 2012
-
-
Owen Anderson authored
Add doInitialization and doFinalization methods to ModulePass's, to allow them to be re-initialized and reused on multiple Module's. Patch by Pedro Artigas. llvm-svn: 168008
-
- Nov 13, 2012
-
-
Daniel Dunbar authored
llvm-svn: 167866
-
Shankar Easwaran authored
llvm-svn: 167853
-
- Nov 12, 2012
-
-
Eric Christopher authored
llvm-svn: 167757
-
Alexander Potapenko authored
llvm-svn: 167730
-
Alexey Samsonov authored
Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext. This is needed to prevent crashes because of dangling reference if the clients don't provide RelocMap to DIContext constructor. llvm-svn: 167728
-
Alexander Potapenko authored
This is the second and last (2/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. llvm-svn: 167723
-
- Nov 08, 2012
-
-
Eric Christopher authored
values in a map that can be passed to consumers. Add a testcase that ensures this works for llvm-dwarfdump. llvm-svn: 167558
-
- Nov 07, 2012
-
-
Bill Wendling authored
llvm-svn: 167544
-
Bill Wendling authored
llvm-svn: 167525
-
- Nov 05, 2012
-
-
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
-
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
-
- Nov 01, 2012
-
-
Andrew Kaylor authored
Patch by Ashok Thirumurthi llvm-svn: 167192
-
Andrew Kaylor authored
llvm-svn: 167185
-
Jim Grosbach authored
Nothing fancy, just a simple demonstration parser. llvm-svn: 167181
-
- Oct 31, 2012
-
-
Andrew Kaylor authored
llvm-svn: 167164
-
- Oct 29, 2012
-
-
Tim Northover authored
Patch by Amara Emerson. llvm-svn: 166920
-
Rafael Espindola authored
globals. llvm-svn: 166909
-
- Oct 26, 2012
-
-
Joerg Sonnenberger authored
Always use an exit code of 1, but print the help message if useful. Remove the exception handling tag in llvm-as, llvm-dis and llvm-bcanalyzer, where it isn't used. llvm-svn: 166767
-
Rafael Espindola authored
to hack around this in the gold plugin by deleting a module if no symbol was needed. Unfortunately, the hack is wrong in the case of o module having no visible symbols but still having side effects via static constructors. The bug will have to be fixed in libLTO itself. llvm-svn: 166745
-
- Oct 24, 2012
-
-
Nadav Rotem authored
llvm-svn: 166602
-
Nadav Rotem authored
llvm-svn: 166595
-
- Oct 23, 2012
-
-
Kevin Enderby authored
Per the October 12, 2012 Proposal for annotated disassembly output sent out by Jim Grosbach this set of changes implements this for X86 and arm. The llvm-mc tool now has a -mdis option to produced the marked up disassembly and a couple of small example test cases have been added. rdar://11764962 llvm-svn: 166445
-
- Oct 19, 2012
-
-
Nadav Rotem authored
llvm-svn: 166248
-