- Apr 17, 2010
-
-
Chris Lattner authored
to CallGraphSCCPass's instead of passing around a std::vector<CallGraphNode*>. No functionality change, but now we have a much tidier interface. llvm-svn: 101558
-
- Apr 16, 2010
-
-
-
Dan Gohman authored
llvm-svn: 101431
-
Dan Gohman authored
llvm-svn: 101430
-
Dan Gohman authored
to expect them this way, to fix srcdir!=objdir builds. llvm-svn: 101414
-
- Apr 15, 2010
-
-
Dan Gohman authored
native linking export files, including running sed to prepend underscores on darwin, and make use of it in libLTO and libEnhancedDisassembly. Remove the leading underscores from library export files so that they work with the new EXPORTED_SYMBOL_FILE support. llvm-svn: 101399
-
Benjamin Kramer authored
llvm-svn: 101365
-
Daniel Dunbar authored
llvm-svn: 101338
-
Chris Lattner authored
characters long. llvm-svn: 101336
-
- Apr 14, 2010
-
-
Nick Lewycky authored
llvm-svn: 101234
-
Nick Lewycky authored
llvm-svn: 101230
-
Nick Lewycky authored
llvm-svn: 101228
-
Douglas Gregor authored
bit (we're not trying to build a shared library yet) and generating the X86GenEDInfo.inc and ARMGenEDInfo.inc files as necessary. llvm-svn: 101188
-
- Apr 13, 2010
-
-
Sean Callanan authored
code. It used to #include the enhanced disassembly information for the targets it supported straight out of lib/Target/{X86,ARM,...} but now it uses a new interface provided by MCDisassembler, and (so far) implemented by X86 and ARM. Also removed hacky #define-controlled initialization of targets in edis. If clients only want edis to initialize a limited set of targets, they can set --enable-targets on the configure command line. llvm-svn: 101179
-
Ted Kremenek authored
llvm-svn: 101177
-
Chris Lattner authored
patch by Marius Wachtler! llvm-svn: 101160
-
Sean Callanan authored
after edis. Really, there ought to be some mechanism to ensure that PARALLEL_DIRS get built after DIRS. llvm-svn: 101095
-
- Apr 12, 2010
-
-
Sean Callanan authored
libEnhancedDisassembly, so we now build the static library in all cases (although the shared library is only built when requested/possible). Also, fixed a bug where edis wasn't properly initializing the targets it uses. llvm-svn: 101072
-
Sean Callanan authored
flags work properly when EDIS_VERSION is defined llvm-svn: 101063
-
Sean Callanan authored
time I use the LIBS variable, which is not subject to a %.a -> -l% transformation, to link llvm-mc against libEnhancedDisassembly. llvm-mc -edis works the same as llvm-mc -disassemble, but outputs tokens and operands. llvm-svn: 101058
-
Benjamin Kramer authored
llvm-svn: 101035
-
Nick Lewycky authored
llvm-svn: 101013
-
- Apr 11, 2010
-
-
Nick Lewycky authored
llvm-svn: 100954
-
- Apr 10, 2010
-
-
Sean Callanan authored
that do not build some (or all) of the targets that edis supports. llvm-svn: 100910
-
- Apr 09, 2010
-
-
Chris Lattner authored
llvm-svn: 100848
-
Sean Callanan authored
integrated into the llvm-mc testing tool. llvm-svn: 100842
-
Sean Callanan authored
state was being executed too lazily, and the LLVM assembly syntax for the disassembler was not being written into the proper disassembler state variable. llvm-svn: 100830
-
- Apr 08, 2010
-
-
Sean Callanan authored
I also added a rule to the ARM target's Makefile to build the ARM-specific instruction information table for the enhanced disassembler. I will add the test harness for all this stuff in a separate commit. llvm-svn: 100735
-
- Apr 06, 2010
-
-
Chris Lattner authored
demo: $ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o <inline asm>:1:2: error: unrecognized instruction abc incl %eax ^ LLVM ERROR: Error parsing inline asm Only problem seems to be that the parser finalizes OutStreamer at the end of the first inline asm, which isn't what we want. For example: $ cat asm.c int foo(int X) { __asm__ ("incl %0" : "+r" (X)); return X; } $ clang asm.c -S -o - -emit-llvm | llc ... subq $8, %rsp movl %edi, (%rsp) movl %edi, %eax ## InlineAsm Start incl %eax ## InlineAsm End movl %eax, (%rsp) movl %eax, 4(%rsp) addq $8, %rsp ret $ clang asm.c -S -o - -emit-llvm | llc -filetype=obj -o t.o $ otool -tv t.o t.o: (__TEXT,__text) section _foo: 0000000000000000 subq $0x08,%rsp 0000000000000004 movl %edi,(%rsp) 0000000000000007 movl %edi,%eax 0000000000000009 incl %eax $ don't stop at inc! llvm-svn: 100491
-
Chris Lattner authored
llvm-svn: 100489
-
Chris Lattner authored
a co-committed clang patch. llvm-svn: 100485
-
- Apr 04, 2010
-
-
Chris Lattner authored
raw_ostream to print an instruction to had to be specified at MCInstPrinter construction time instead of being able to pick at each call to printInstruction. llvm-svn: 100307
-
- Apr 03, 2010
-
-
Chris Lattner authored
llvm-svn: 100287
-
Chris Lattner authored
having the bitcode writer materialize mdnodes for all the debug location tuples when writing out the bc file and stores the information in a more compact form. For example, the -O0 -g bc file for combine.c in 176.gcc shrinks from 739392 to 512096 bytes. This concludes my planned short-term debug info work. llvm-svn: 100261
-
Mikhail Glushenkov authored
llvm-svn: 100260
-
Chris Lattner authored
llvm-svn: 100257
-
- Apr 02, 2010
-
-
Sean Callanan authored
on Mac OS X to use @rpath rather than an absolute path. Also allowed the version to be set using an environment variable. llvm-svn: 100163
-
- Apr 01, 2010
-
-
Mikhail Glushenkov authored
llvm-svn: 100064
-
- Mar 30, 2010
-
-
Dan Gohman authored
llvm-svn: 99915
-
- Mar 27, 2010
-
-
Chris Lattner authored
llvm-svn: 99721
-