| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 133349
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-apply 133010, with fixes for inline assembler.
Original commit message:
"When an assembler local symbol is used but not defined in a module, a
Darwin assembler wants to issue a diagnostic to that effect."
Added fix to only perform the check when finalizing, as otherwise we're not
done and undefined symbols may simply not have been encountered yet.
Passes "make check" and a self-host check on Darwin.
llvm-svn: 133071
|
|
|
|
|
|
|
| |
Apparently llvm itself generates undefined assembler local labels, causing
self-hosting problems with this patch. Reverting until that's sorted out.
llvm-svn: 133013
|
|
|
|
|
|
|
|
|
| |
When an assembler local symbol is used but not defined in a module, a
Darwin assembler wants to issue a diagnostic to that effect.
rdar://9559714
llvm-svn: 133010
|
|
|
|
|
|
|
|
|
|
|
| |
We still don't handle
* default values
* :req
* :vararg
* \()
llvm-svn: 132656
|
|
|
|
|
|
|
|
|
|
| |
Parsing a register name/number for .cfi directives can't assume that a
register name starts with a '%' token. Be more flexible and check for a
register number instead. Still unlikely to be perfect, but it allows us
to parse both plain identifiers as register names and integers as register
numbers, which is what we're wanting to support at this point.
llvm-svn: 132466
|
|
|
|
| |
llvm-svn: 132395
|
|
|
|
|
|
|
|
|
|
| |
them.
I had to add a special SwitchSectionNoChange method to MCStreamer just for
.seh_handlerdata. If this isn't OK, please let me know, and I'll find some
other way to fix .seh_handlerdata streaming.
llvm-svn: 132084
|
|
|
|
|
|
| |
buggy methods that parse these directives.
llvm-svn: 132045
|
|
|
|
|
|
| |
one I found by inspection).
llvm-svn: 132037
|
|
|
|
|
|
|
| |
method exposed by the test. While we're at it, simplify the .seh_proc
parsing method.
llvm-svn: 132028
|
|
|
|
|
|
|
|
|
| |
Add a size alignment check to the .seh_stackalloc directive parser. Add a
more descriptive error message to the .seh_handler directive parser.
Add methods to the TargetAsmInfo struct in support of all this.
llvm-svn: 131992
|
|
|
|
| |
llvm-svn: 131918
|
|
|
|
|
|
|
|
|
| |
I haven't implemented any of the ones that take registers yet. The problem is
that for x86-64 the streamer methods expect a native x86 register number (note:
%r8-%r15 want 8-15 instead of 0-7; same for %xmm8-%xmm15). I haven't figured
out exactly how I want to do that yet.
llvm-svn: 131899
|
|
|
|
|
|
|
| |
of them, particularly the ones that don't take arguments. Also implement
.seh_proc and .seh_handler.
llvm-svn: 131866
|
|
|
|
|
|
| |
Introduce -fatal-assembler-warnings for the obvious purpose
llvm-svn: 131655
|
|
|
|
| |
llvm-svn: 131653
|
|
|
|
| |
llvm-svn: 131644
|
|
|
|
| |
llvm-svn: 131117
|
|
|
|
| |
llvm-svn: 130515
|
|
|
|
|
|
| |
each instruction.
llvm-svn: 129715
|
|
|
|
|
|
| |
Implement the ones that were missing in the asm streamer.
llvm-svn: 129413
|
|
|
|
| |
llvm-svn: 129378
|
|
|
|
| |
llvm-svn: 129362
|
|
|
|
| |
llvm-svn: 129361
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Patch by Roman Divacky.
Fixes PR9361.
llvm-svn: 129106
|
|
|
|
|
|
| |
and Nans with the same strings as GAS supports. rdar://8673024
llvm-svn: 128488
|
|
|
|
| |
llvm-svn: 128289
|
|
|
|
| |
llvm-svn: 128288
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 127944
|
|
|
|
| |
llvm-svn: 127943
|
|
|
|
| |
llvm-svn: 127939
|
|
|
|
|
|
| |
been removed.
llvm-svn: 127812
|
|
|
|
| |
llvm-svn: 127258
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
enabled for all targets. Non-X86 targets should not have this behavior
enabled by default.
Joerg, if you would like to resubmit with the behavior conditionalized to be
X86-ELF only, that's fine.
llvm-svn: 126336
|
|
|
|
|
|
| |
parser.
llvm-svn: 126225
|
|
|
|
| |
llvm-svn: 125629
|
|
|
|
|
|
| |
This is submitted by Joerg Sonnenberger and fixes his PR8685.
llvm-svn: 125595
|
|
|
|
| |
llvm-svn: 125388
|
|
|
|
|
|
| |
Sonnenberger.
llvm-svn: 125120
|
|
|
|
| |
llvm-svn: 124831
|
|
|
|
|
|
| |
unbreaks some ARM tests.
llvm-svn: 124608
|
|
|
|
|
|
| |
all lead to a silent miscompilation of code.
llvm-svn: 124603
|