| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
test for invalid hexadecimals.
llvm-svn: 129326
|
| |
|
|
|
|
|
|
|
|
| |
.long 80+08
go ahead and assume that if we've got an Error token that we handled it
already. Otherwise if it's a token we can't handle then go ahead and
return the default error.
llvm-svn: 129322
|
| |
|
|
|
|
|
|
| |
Testcase forthcoming.
rdar://8490596
llvm-svn: 129309
|
| |
|
|
| |
llvm-svn: 129306
|
| |
|
|
| |
llvm-svn: 129296
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
disassembler API. Hooked this up to the ARM target so such tools as Darwin's
otool(1) can now print things like branch targets for example this:
blx _puts
instead of this:
blx #-36
And even print the expression encoded in the Mach-O relocation entried for
things like this:
movt r0, :upper16:((_foo-_bar)+1234)
llvm-svn: 129284
|
| |
|
|
| |
llvm-svn: 129214
|
| |
|
|
|
|
| |
And don't append the name over and over again in the loop.
llvm-svn: 129210
|
| |
|
|
|
|
|
|
|
| |
error stream, in cases where the AsmParser is
being invoked by EDDisassembler. Before, they
were being sent to errs() because no error handler
was installed in the SourceMgr.
llvm-svn: 129177
|
| |
|
|
|
|
| |
When two section names share a suffix, reuse the entry in shstrtab.
llvm-svn: 129115
|
| |
|
|
|
|
|
| |
Patch by Roman Divacky.
Fixes PR9361.
llvm-svn: 129106
|
| |
|
|
|
|
| |
tokenization to crash and burn.
llvm-svn: 129051
|
| |
|
|
|
|
|
|
|
|
| |
getEDInfo(), in which case this code would dereference
NULL. EDInst can already handle NULL info, so avoid
the dereference and pass NULL through.
Reviewed by Sean Callanan
llvm-svn: 128904
|
| |
|
|
|
|
| |
and Nans with the same strings as GAS supports. rdar://8673024
llvm-svn: 128488
|
| |
|
|
| |
llvm-svn: 128441
|
| |
|
|
|
|
| |
on Darwin.
llvm-svn: 128430
|
| |
|
|
| |
llvm-svn: 128426
|
| |
|
|
|
|
|
|
|
|
|
| |
otool(1), this time with the needed fix for case sensitive file systems :) .
This is a work in progress as the interface for producing symbolic operands is
not done. But a hacked prototype using information from the object file's
relocation entiries and replacing immediate operands with MCExpr's has been
shown to work with no changes to the instrucion printer. These APIs will be
moved into a dynamic library at some point.
llvm-svn: 128415
|
| |
|
|
| |
llvm-svn: 128370
|
| |
|
|
| |
llvm-svn: 128309
|
| |
|
|
|
|
|
|
|
|
| |
This is a work in progress as the interface for producing symbolic operands is
not done. But a hacked prototype using information from the object file's
relocation entiries and replacing immediate operands with MCExpr's has been
shown to work with no changes to the instrucion printer. These APIs will be
moved into a dynamic library at some point.
llvm-svn: 128308
|
| |
|
|
| |
llvm-svn: 128289
|
| |
|
|
| |
llvm-svn: 128288
|
| |
|
|
| |
llvm-svn: 128236
|
| |
|
|
|
|
|
|
| |
The MC asm lexer wasn't honoring a non-default (anything but ';') statement
separator. Fix that, and generalize a bit to support multi-character
statement separators.
llvm-svn: 128227
|
| |
|
|
|
|
| |
BLX, rather than a 2-byte instruction like B.
llvm-svn: 128169
|
| |
|
|
|
|
|
| |
This fixes kimwitu++, bullet, and tramp3dv4 with the ARM integrated assembler.
Fixes <rdar://problem/9165738>.
llvm-svn: 128117
|
| |
|
|
|
|
|
|
| |
constant folded very early.
This fixes SPASS with -integrated-as. <rdar://problem/9165399>
llvm-svn: 128037
|
| |
|
|
|
|
|
|
|
| |
the alias of an InstAlias instead of the thing being aliased. Because we need to
know the features that are valid for an InstAlias.
This is part of a work-in-progress.
llvm-svn: 127986
|
| |
|
|
|
|
|
| |
gun as does. This makes it a lot easier to compare the output of both
as the addresses are now a lot closer.
llvm-svn: 127972
|
| |
|
|
| |
llvm-svn: 127944
|
| |
|
|
| |
llvm-svn: 127943
|
| |
|
|
| |
llvm-svn: 127939
|
| |
|
|
|
|
| |
been removed.
llvm-svn: 127812
|
| |
|
|
|
|
| |
While here, add VK_ARM_TPOFF and VK_ARM_GOTTPOFF, too.
llvm-svn: 127780
|
| |
|
|
|
|
| |
MCFixupKind. This is the same technique that is used elsewhere in MC.
llvm-svn: 127676
|
| |
|
|
|
|
| |
disassembler's disassembler map.
llvm-svn: 127527
|
| |
|
|
|
|
| |
MCAssembler * argument.
llvm-svn: 127343
|
| |
|
|
| |
llvm-svn: 127258
|
| |
|
|
|
|
|
| |
This is just very first approximation how the stuff should be done
(e.g. ARM-only for now). More to follow.
llvm-svn: 127101
|
| |
|
|
|
|
| |
mode".
llvm-svn: 127099
|
| |
|
|
|
|
| |
that contain only letters, digits and the characters "_" and ".".
llvm-svn: 127028
|
| |
|
|
| |
llvm-svn: 126963
|
| |
|
|
|
|
| |
other components can use them.
llvm-svn: 126942
|
| |
|
|
|
|
|
|
| |
for calls to weak symbols with a definition has the appearance of working
with LLVM-generated code because weak symbol definitions are put in their
own sections.
llvm-svn: 126933
|
| |
|
|
|
|
| |
Patch by Erik Olofsson!
llvm-svn: 126796
|
| |
|
|
|
|
| |
(duplicated) functions to new MCELF class.
llvm-svn: 126686
|
| |
|
|
| |
llvm-svn: 126488
|
| |
|
|
|
|
|
| |
Introduce a variable in the AsmParserExtension whether [] is valid in an
expression. If it is true, parse them like (). Enable this for ELF only.
llvm-svn: 126443
|
| |
|
|
|
|
| |
Patch by Nathan Jeffords!
llvm-svn: 126425
|