| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 101789
|
|
|
|
| |
llvm-svn: 101656
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
know it at the time.
llvm-svn: 101439
|
|
|
|
| |
llvm-svn: 101431
|
|
|
|
| |
llvm-svn: 101430
|
|
|
|
|
|
| |
to expect them this way, to fix srcdir!=objdir builds.
llvm-svn: 101414
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 101365
|
|
|
|
| |
llvm-svn: 101338
|
|
|
|
|
|
| |
characters long.
llvm-svn: 101336
|
|
|
|
| |
llvm-svn: 101234
|
|
|
|
| |
llvm-svn: 101230
|
|
|
|
| |
llvm-svn: 101228
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 101177
|
|
|
|
|
|
| |
patch by Marius Wachtler!
llvm-svn: 101160
|
|
|
|
|
|
|
|
| |
after edis. Really, there ought to be some
mechanism to ensure that PARALLEL_DIRS get built
after DIRS.
llvm-svn: 101095
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
flags work properly when EDIS_VERSION is defined
llvm-svn: 101063
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 101035
|
|
|
|
| |
llvm-svn: 101013
|
|
|
|
| |
llvm-svn: 100954
|
|
|
|
|
|
|
| |
that do not build some (or all) of the targets that
edis supports.
llvm-svn: 100910
|
|
|
|
| |
llvm-svn: 100848
|
|
|
|
|
|
| |
integrated into the llvm-mc testing tool.
llvm-svn: 100842
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 100489
|
|
|
|
|
|
| |
a co-committed clang patch.
llvm-svn: 100485
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 100287
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 100260
|
|
|
|
| |
llvm-svn: 100257
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 100064
|
|
|
|
| |
llvm-svn: 99915
|
|
|
|
| |
llvm-svn: 99721
|
|
|
|
| |
llvm-svn: 99719
|
|
|
|
| |
llvm-svn: 99716
|
|
|
|
|
|
|
| |
exactly two passes in that case, and don't ever need to recompute any layout,
so this is a nice baseline for relaxation performance.
llvm-svn: 99563
|
|
|
|
| |
llvm-svn: 99416
|
|
|
|
|
|
| |
raw_ostream variables immediately before they go out of scope.
llvm-svn: 99413
|
|
|
|
| |
llvm-svn: 99349
|
|
|
|
| |
llvm-svn: 99343
|
|
|
|
|
|
| |
Apple-style builds.
llvm-svn: 99336
|