- Sep 20, 2011
-
-
Eric Christopher authored
llvm-svn: 140109
-
Eric Christopher authored
The problems that llvmc solved have largely been subsumed with the tasks that the clang driver can accomplish, but llvmc lacks flexibility and depends too heavily on the EOL'd llvm-gcc. llvm-svn: 140093
-
- Sep 19, 2011
-
-
Benjamin Kramer authored
llvm-svn: 140045
-
Benjamin Kramer authored
llvm-svn: 140044
-
Benjamin Kramer authored
llvm-svn: 140042
-
Benjamin Kramer authored
Add a MachO-specific "mode" to llvm-objdump, that, if enabled, gathers additional information that are only available on MachO. - It can take FunctionStarts from a binary to find entry points more accurately. - Symbol offsets in executables are correct now. llvm-svn: 140028
-
- Sep 16, 2011
-
-
Chad Rosier authored
expression matching. llvm-svn: 139945
-
Owen Anderson authored
Don't attach annotations to MCInst's. Instead, have the disassembler return, and the printer accept, an annotation string which can be passed through if the client cares about annotations. llvm-svn: 139876
-
Ivan Krasin authored
gold plugin is built with Large File Support (sizeof(off_t) == 64 on i686) and the rest of LLVM is built w/o Large File Support (sizeof(off_t) == 32 on i686) which corrupts the stack. llvm-svn: 139873
-
- Sep 15, 2011
-
-
Benjamin Kramer authored
Usage: $ llvm-dwarfdump -address=0x0000000100000ed4 a.out.dSYM/Contents/Resources/DWARF/a.out xxx.c:6:0 llvm-svn: 139850
-
Benjamin Kramer authored
llvm-svn: 139799
-
Benjamin Kramer authored
The llvm-dwarfdump output isn't very verbose yet. llvm-svn: 139771
-
- Sep 14, 2011
-
-
Benjamin Kramer authored
llvm-dwarfdump: Make the "is debug info section" heuristic stricter so it doesn't accidentaly picks up the wrong section. Also add some validation code to the aranges section parser. Fixes PR10926. llvm-svn: 139701
-
Benjamin Kramer authored
- Add enum SymbolType and function getSymbolType() - Add function isGlobal() - it's returns true for symbols that can be used in another objects, such as library functions. - Rename function getAddress() to getOffset() and add new function getAddress(), because currently getAddress() returns section offset of symbol first byte. new getAddress() return symbol address. - Change usage SymbolRef::getAddress() to getOffset() in tools/llvm-nm and tools/llvm-objdump. Patch by Danil Malyshev! llvm-svn: 139683
-
Benjamin Kramer authored
This is only one half of it, the part that caches address ranges from the DIEs when .debug_aranges is not available will be ported soon. llvm-svn: 139680
-
- Sep 13, 2011
-
-
Benjamin Kramer authored
This introduces a new library to LLVM: libDebugInfo. It will provide debug information parsing to LLVM. Much of the design and some of the code is taken from the LLDB project. It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an object file. It can be used to write tests for DWARF input and output easily. llvm-svn: 139627
-
- Sep 12, 2011
-
-
Ivan Krasin authored
llvm-svn: 139544
-
- Sep 09, 2011
-
-
Ivan Krasin authored
llvm-svn: 139340
-
- Sep 08, 2011
-
-
Ivan Krasin authored
llvm-svn: 139284
-
Ivan Krasin authored
llvm-svn: 139283
-
- Sep 07, 2011
-
-
James Molloy authored
Refactor instprinter and mcdisassembler to take a SubtargetInfo. Add -mattr= handling to llvm-mc. Reviewed by Owen Anderson. llvm-svn: 139237
-
- Sep 05, 2011
-
-
Chandler Carruth authored
edis shared library in the Makefile build, also stop building it in the CMake build. Patch by arrowdodger! llvm-svn: 139108
-
- Sep 02, 2011
-
-
Benjamin Kramer authored
- On COFF the .lcomm directive has an alignment argument. - On ELF we fall back to .local + .comm Based on a patch by NAKAMURA Takumi. Fixes PR9337, PR9483 and PR10128. llvm-svn: 138976
-
- Aug 31, 2011
-
-
Benjamin Kramer authored
llvm-svn: 138836
-
- Aug 30, 2011
-
-
Benjamin Kramer authored
llvm-svn: 138807
-
- Aug 24, 2011
-
-
Evan Cheng authored
These are strictly utilities for registering targets and components. llvm-svn: 138450
-
- Aug 23, 2011
-
-
Evan Cheng authored
from MC. llvm-svn: 138367
-
- Aug 18, 2011
-
-
John Criswell authored
llvm-svn: 137913
-
- Aug 17, 2011
-
-
Owen Anderson authored
Allow the MCDisassembler to return a "soft fail" status code, indicating an instruction that is disassemblable, but invalid. Only used for ARM UNPREDICTABLE instructions at the moment. Patch by James Molloy. llvm-svn: 137830
-
- Aug 16, 2011
-
-
Jim Grosbach authored
The argument is unused, and is a layering violation in any case. llvm-svn: 137735
-
- Aug 12, 2011
-
-
Nick Lewycky authored
llvm-svn: 137467
-
Duncan Sands authored
when building with assertions disabled. llvm-svn: 137460
-
- Aug 08, 2011
-
-
Benjamin Kramer authored
Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions. - Add overrides for ARM. - Teach llvm-objdump to use this instead of plain MCInstrDesc. llvm-svn: 137059
-
Benjamin Kramer authored
- Indent simple loops - Print unreachable blocks as .byte directives llvm-svn: 137058
-
Benjamin Kramer authored
This way we can avoid printing unreachable code (data). llvm-svn: 137057
-
- Aug 04, 2011
-
-
Bill Wendling authored
This is some of my original LLVM code. *wipes tear* llvm-svn: 136821
-
- Aug 03, 2011
-
-
Evan Cheng authored
llvm-svn: 136814
-
Evan Cheng authored
llvm-svn: 136738
-
- Aug 02, 2011
-
-
Rafael Espindola authored
llvm-svn: 136727
-
Rafael Espindola authored
but it solves a layering violation since things in Support are not supposed to use things in Transforms. llvm-svn: 136726
-