| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- This fixes some layering violations and matches how we handle the llvm-c lib,
for example.
llvm-svn: 145338
|
|
|
|
|
|
|
| |
to the way we currently expect target selection to work -- clients are supposed
to have control over what targets are available.
llvm-svn: 145331
|
|
|
|
|
|
| |
cruft from the Makefile.
llvm-svn: 145329
|
|
|
|
|
|
|
|
|
|
| |
disassembler API.
This will break users of the LLVMCreateDisasm API (not that I know of any). They have to call the
LLVMInitializeAll* functions from llvm-c/Target.h themselves now. edis' C API in all its horribleness
should be unaffected.
llvm-svn: 144385
|
|
|
|
|
|
| |
new all-targets pseudo-component.
llvm-svn: 142401
|
|
|
|
|
|
|
|
|
| |
edis shared library in the Makefile build, also stop building it in the
CMake build.
Patch by arrowdodger!
llvm-svn: 139108
|
|
|
|
| |
llvm-svn: 136814
|
|
|
|
| |
llvm-svn: 136738
|
|
|
|
| |
llvm-svn: 136463
|
|
|
|
| |
llvm-svn: 127555
|
|
|
|
| |
llvm-svn: 125274
|
|
|
|
|
|
| |
Patch by arrowdodger!
llvm-svn: 123659
|
|
|
|
|
|
| |
anything.
llvm-svn: 109957
|
|
|
|
|
|
|
|
|
| |
arm explicitly. X86 and ARM are the only two targets that support
disassembly, so our explicit list is enough. These other targets
weren't getting pulled in anyway though, since there were no
references to their symbols.
llvm-svn: 108934
|
|
|
|
|
|
| |
enabled. Add direct ARM support.
llvm-svn: 108933
|
|
|
|
| |
llvm-svn: 108931
|
|
|
|
| |
llvm-svn: 108919
|
|
|
|
| |
llvm-svn: 108876
|
|
|
|
| |
llvm-svn: 108875
|
|
|
|
| |
llvm-svn: 108873
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
better in the llvm world. Among other things, this changes:
1. The guts of libedis are now moved into lib/MC/MCDisassembler
2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis,
so edis and mc don't have to be built in series.
3. lib/MC/MCDisassembler no longer depends on the C api, the C
API depends on it.
4. Various code cleanup changes.
There is still a lot to be done to make edis fit with the llvm
design, but this is an incremental step in the right direction.
llvm-svn: 108869
|
|
|
|
|
|
| |
- Unfortunate, but necessary for now to handle subtarget instruction matching. Eventually we should factor out the lower level target machine information so we don't need to do this.
llvm-svn: 108664
|
|
|
|
| |
llvm-svn: 108663
|
|
|
|
| |
llvm-svn: 108645
|
|
|
|
|
|
|
|
| |
DIRS list, so it does no good to filter it from PARALLEL_DIRS), and replace
it with a check to disable building the shared library version of edis when
the flag is set. Disabling it entirely does not work because MC uses it now.
llvm-svn: 108367
|
|
|
|
| |
llvm-svn: 107426
|
|
|
|
|
|
|
| |
instructions as well. Added support for checking
this to the llvm-mc tester as well.
llvm-svn: 103454
|
|
|
|
|
|
| |
operands correctly.
llvm-svn: 102227
|
|
|
|
|
|
| |
memory operands rather than immediate operands.
llvm-svn: 102217
|
|
|
|
|
|
|
| |
flags, to determine whether or not the operand is
a memory operand.
llvm-svn: 102158
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
that do not build some (or all) of the targets that
edis supports.
llvm-svn: 100910
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Mac OS X to match current install location. This has no
effect on other platforms.
llvm-svn: 98773
|
|
|
|
| |
llvm-svn: 98293
|
|
|
|
|
|
| |
whitespace tokens in the right places.
llvm-svn: 95645
|
|
|
|
|
|
| |
library was reporting inaccurate token IDs.
llvm-svn: 95639
|
|
|
|
|
|
|
| |
for the new APIs offered by the enhanced disassembler
for inspecting operands.
llvm-svn: 95606
|
|
|
|
|
|
|
|
| |
disassembly library that provide access to
instruction information, and fixed ambiguous
wording in the comments for the header.
llvm-svn: 95274
|
|
yesterday. This eliminates possible confusion
about what exactly in this directory; the name
is still short, though.
llvm-svn: 95118
|