- Apr 05, 2013
-
-
Rafael Espindola authored
llvm-svn: 178835
-
- Apr 04, 2013
-
-
Rafael Espindola authored
On freebsd this makes sure that symbols are exported on the binaries that need them. The net result is that we should get symbols in the binaries that need them on every platform. On linux x86-64 this reduces the size of the bin directory from 262MB to 250MB. Patch by Stephen Checkoway. llvm-svn: 178725
-
- Apr 03, 2013
-
-
Eric Christopher authored
ELF with support for: - File headers - Section headers + data - Relocations - Symbols - Unwind data (only COFF/Win64) The output format follows a few rules: - Values are almost always output one per line (as elf-dump/coff-dump already do). - Many values are translated to something readable (like enum names), with the raw value in parentheses. - Hex numbers are output in uppercase, prefixed with "0x". - Flags are sorted alphabetically. - Lists and groups are always delimited. Example output: ---------- snip ---------- Sections [ Section { Index: 1 Name: .text (5) Type: SHT_PROGBITS (0x1) Flags [ (0x6) SHF_ALLOC (0x2) SHF_EXECINSTR (0x4) ] Address: 0x0 Offset: 0x40 Size: 33 Link: 0 Info: 0 AddressAlignment: 16 EntrySize: 0 Relocations [ 0x6 R_386_32 .rodata.str1.1 0x0 0xB R_386_PC32 puts 0x0 0x12 R_386_32 .rodata.str1.1 0x0 0x17 R_386_PC32 puts 0x0 ] SectionData ( 0000: 83EC04C7 04240000 0000E8FC FFFFFFC7 |.....$..........| 0010: 04240600 0000E8FC FFFFFF31 C083C404 |.$.........1....| 0020: C3 |.| ) } ] ---------- snip ---------- Relocations and symbols can be output standalone or together with the section header as displayed in the example. This feature set supports all tests in test/MC/COFF and test/MC/ELF (and I suspect all additional tests using elf-dump), making elf-dump and coff-dump deprecated. Patch by Nico Rieck! llvm-svn: 178679
-
Eric Christopher authored
Patch by Nico Rieck! llvm-svn: 178678
-
- Mar 30, 2013
-
-
- Mar 26, 2013
-
-
Chandler Carruth authored
that work on the LLVMBuild based dependency specification didn't actually work, we just now maintain dependencies in *3* places instead of 2. Yay. There may still be some missing dependencies, I'm still sifting through the bots and my builds, but this is a step in the right direction. llvm-svn: 177988
-
Chandler Carruth authored
its own library. These functions are bridging between the bitcode reader and the ll parser which are in different libraries. Previously we didn't have any good library to do this, and instead played fast and loose with a "header only" set of interfaces in the Support library. This really doesn't work well as evidenced by the recent attempt to add timing logic to the these routines. As part of this, make them normal functions rather than weird inline functions, and sink the implementation into the library. Also clean up the header to be nice and minimal. This requires updating lots of build system dependencies to specify that the IRReader library is needed, and several source files to not implicitly rely upon the header file to transitively include all manner of other headers. If you are using IRReader.h, this commit will break you (the header moved) and you'll need to also update your library usage to include 'irreader'. I will commit the corresponding change to Clang momentarily. llvm-svn: 177971
-
- Mar 25, 2013
-
-
Shankar Easwaran authored
[tools][llvm-readobj] print the name of the section when iterating the symbol table / dynamic symbol table llvm-svn: 177873
-
- Mar 19, 2013
-
-
Eli Bendersky authored
llvm-svn: 177410
-
Alexey Samsonov authored
llvm-svn: 177409
-
Dmitry Vyukov authored
llvm-svn: 177390
-
- Mar 17, 2013
-
-
Rafael Espindola authored
Patch by Stephen Checkoway. llvm-svn: 177233
-
- Mar 13, 2013
-
-
Lang Hames authored
codegen passes. This brings it in to line with clang and llc's codegen setup, and tidies up the code. If I understand correctly, adding ModulePasses to a FunctionPassManager is bogus. It only seems to explode if an added ModulePass depends on a FunctionPass though, which might be why this code has survived so long. Fixes <rdar://problem/13386816>. llvm-svn: 176977
-
- Mar 01, 2013
-
-
Daniel Malea authored
- if you have LLDB checked out in $llvm/tools, CMake will build it now! - LLDB is known to build on Linux with libstdc++ and GCC 4.6/4.7 or Clang 3.3 - to run lldb tests, do "make check-lldb" after a build llvm-svn: 176307
-
- Feb 28, 2013
-
-
Bill Wendling authored
- Consistency with opt (which supports the same option with the same meaning and description). - Debugging gold plugin-based linking without optimizations getting in the way. - Debugging programs linked with the gold plugin while preserving the original debug info. - Fine-grained control over LTO passes using the gold plugin in combination with opt (or clang/dragonegg). Patch by Cristiano Giuffrida! llvm-svn: 176257
-
- Feb 27, 2013
-
-
Shankar Easwaran authored
llvm-svn: 176192
-
Eli Bendersky authored
to NULL and use asserts to check in relevant places. llvm-svn: 176134
-
- Feb 26, 2013
-
-
Matt Arsenault authored
llvm-svn: 176123
-
Andrew Kaylor authored
This changes the RecordingMemoryManager in lli to use mapped memory rather than malloc to allocate memory for sections and uses a 'near' MemoryBlock to keep the allocations together. This works around a problem in MCJIT where relocations are applied to a generated image immediately oupon generation, which isn't appropriate for the remote case. llvm-svn: 176057
-
- Feb 21, 2013
-
-
Michael J. Spencer authored
llvm-svn: 175709
-
- Feb 20, 2013
-
-
Michael J. Spencer authored
llvm-svn: 175659
-
Michael J. Spencer authored
llvm-svn: 175592
-
- Feb 15, 2013
-
-
Alexey Samsonov authored
llvm-svn: 175255
-
- Feb 14, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 175158
-
- Feb 13, 2013
-
-
Bill Wendling authored
llvm-svn: 175069
-
- Feb 12, 2013
-
-
Guy Benyei authored
Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. llvm-svn: 175006
-
Krzysztof Parzyszek authored
llvm-svn: 174976
-
- Feb 11, 2013
-
-
Bill Wendling authored
llvm-svn: 174847
-
- Feb 08, 2013
-
-
Michael J. Spencer authored
llvm-svn: 174687
-
- Feb 06, 2013
-
-
Eli Bendersky authored
llvm-svn: 174463
-
- Feb 05, 2013
-
-
Michael J. Spencer authored
llvm-svn: 174439
-
Alexey Samsonov authored
llvm-svn: 174346
-
- Feb 04, 2013
-
-
Alexey Samsonov authored
llvm-svn: 174332
-
- Feb 03, 2013
-
-
Michael J. Spencer authored
Improve performance of iterating over children and accessing the member file buffer by caching the file size and moving code out to the header. This also makes getBuffer return a StringRef instead of a MemoryBuffer. Both fixing a memory leak and removing a malloc. This takes getBuffer from ~10% of the time in lld to unmeasurable. llvm-svn: 174272
-
- Feb 01, 2013
-
-
Chandler Carruth authored
llvm-svn: 174115
-
Chandler Carruth authored
isa<> and dyn_cast<>. In several places, code is already hacking around the absence of this, and there seem to be several interfaces that might be lifted and/or devirtualized using this. This change was based on a discussion with Jim Grosbach about how best to handle testing for specific MCStreamer subclasses. He said that this was the correct end state, and everything else was too hacky so I decided to just make it so. No functionality should be changed here, this is just threading the kind through all the constructors and setting up the classof overloads. llvm-svn: 174113
-
- Jan 28, 2013
-
-
Andrew Kaylor authored
llvm-svn: 173712
-
Michael Gottesman authored
Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. llvm-svn: 173647
-
- Jan 26, 2013
-
-
Andrew Kaylor authored
Add DIContext::getLineInfoForAddressRange() function and test. This function allows a caller to obtain a table of line information for a function using the function's address and size. llvm-svn: 173537
-
- Jan 25, 2013
-
-
Andrew Kaylor authored
Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes. llvm-svn: 173517
-