| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, an unsupported/unknown assembler directive issued a warning.
That's generally unsafe, and inconsistent with the behaviour of pretty
much every system assembler. Now that the MC assemblers are mature
enough to be the default on multiple targets, it's reasonable to
issue errors for these.
For target or platform directives that need to stay warnings, we
should add explicit handlers for them in, e.g., ELFAsmParser.cpp,
DarwinAsmParser.cpp, et. al., and issue the warning there.
rdar://9246275
llvm-svn: 155926
|
|
|
|
|
|
|
|
|
| |
A trailing comma means no argument at all (i.e., as if the comma were not
present), not an empty argument to the invokee.
rdar://11252521
llvm-svn: 154863
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed test/lib/llvm.exp - it is no longer needed
* Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
left in the test suite so this code is no longer required. test/lit.cfg is
now much shorter and clearer
* Removed a lot of duplicate code in lit.local.cfg files that need access to
the root configuration, by adding a "root" attribute to the TestingConfig
object. This attribute is dynamically computed to provide the same
information as was previously provided by the custom getRoot functions.
* Documented the config.root attribute in docs/CommandGuide/lit.pod
llvm-svn: 153408
|
|
|
|
|
|
| |
rdar://11027851
llvm-svn: 153137
|
|
|
|
|
|
|
|
| |
evaluated to '1' when the argument list was empty (should be '0').
rdar://11057257
llvm-svn: 152967
|
|
|
|
|
|
|
|
| |
run with LIT now and now Dejagnu. dg.exp is no longer needed.
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
llvm-svn: 150664
|
|
|
|
| |
llvm-svn: 149175
|
|
|
|
|
|
| |
messages and allows us to fix PR11865.
llvm-svn: 149174
|
|
|
|
|
|
|
| |
directives was in the wrong place and getting triggered incorectly with a
cpp .file directive. This change fixes that and adds a test case.
llvm-svn: 147951
|
|
|
|
|
|
|
|
| |
file error checking. Use that to error on an unfinished cfi_startproc.
The error is not nice, but is already better than a segmentation fault.
llvm-svn: 147717
|
|
|
|
|
|
| |
getStreamer().EmitBytes. Suggestion by Benjamin Kramer!
llvm-svn: 146599
|
|
|
|
|
|
| |
it to the streamer. rdar://10383898
llvm-svn: 146592
|
|
|
|
| |
llvm-svn: 143352
|
|
|
|
|
|
|
|
| |
uses X86 instruction.
FIXME: Would it be reproduced without target-specific operands?
FIXME: Why run llvm-mc as the same input by 3 times?
llvm-svn: 143195
|
|
|
|
| |
llvm-svn: 142537
|
|
|
|
|
|
|
|
|
|
| |
.file filenumber "directory" "filename"
This removes one join+split of the directory+filename in MC internals. Because
bitcode files have independent fields for directory and filenames in debug info,
this patch may change the .o files written by existing .bc files.
llvm-svn: 142300
|
|
|
|
| |
llvm-svn: 140012
|
|
|
|
|
|
| |
rdar://9976729
llvm-svn: 138208
|
|
|
|
| |
llvm-svn: 138207
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The .local, .hidden, .internal, and .protected are not legal for all supported
file formats (in particular, they're invalid for MachO). Move the parsing for
them into the ELF assembly parser since that's the format they're for.
Similarly, .weak is used by COFF and ELF, but not MachO, so move the parsing
to the COFF and ELF asm parsers. Previously, using any of these directives
on Darwin would result in an assertion failure in the parser; now we get
a diagnostic as we should.
rdar://9827089
llvm-svn: 135921
|
|
|
|
|
|
|
|
|
| |
For example, ".byte 256" would previously assert() when emitting an object
file. Now it generates a diagnostic that the literal value is out of range.
rdar://9686950
llvm-svn: 134069
|
|
|
|
| |
llvm-svn: 133349
|
|
|
|
|
|
| |
Requested by nbjoerg!
llvm-svn: 132716
|
|
|
|
|
|
|
|
|
|
|
| |
We still don't handle
* default values
* :req
* :vararg
* \()
llvm-svn: 132656
|
|
|
|
| |
llvm-svn: 132110
|
|
|
|
|
|
|
|
|
|
|
| |
Rework how the MCWin64EHUnwindInfo instances are stored. Fix issues with
chained unwind areas exposed by the test that were related to this.
The ChainedParent field had the wrong address, because when the chained unwind
info was added, the addresses shifted around. Now we store the pointers to the
structures, which are now allocated from the MC heap.
llvm-svn: 132106
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
this test.
llvm-svn: 132004
|
|
|
|
|
|
| |
test for invalid hexadecimals.
llvm-svn: 129326
|
|
|
|
| |
llvm-svn: 129323
|
|
|
|
|
|
| |
And don't append the name over and over again in the loop.
llvm-svn: 129210
|
|
|
|
| |
llvm-svn: 129116
|
|
|
|
|
|
|
| |
Patch by Roman Divacky.
Fixes PR9361.
llvm-svn: 129106
|
|
|
|
| |
llvm-svn: 128495
|
|
|
|
|
|
| |
and Nans with the same strings as GAS supports. rdar://8673024
llvm-svn: 128488
|
|
|
|
| |
llvm-svn: 128289
|
|
|
|
| |
llvm-svn: 126401
|
|
|
|
| |
llvm-svn: 126337
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 125629
|
|
|
|
|
|
| |
This is submitted by Joerg Sonnenberger and fixes his PR8685.
llvm-svn: 125595
|
|
|
|
|
|
| |
Sonnenberger.
llvm-svn: 125120
|
|
|
|
| |
llvm-svn: 124485
|
|
|
|
| |
llvm-svn: 124467
|
|
|
|
|
|
|
| |
preprocessed .s files and matches darwin gas. rdar://8798690
Also fix a comment on the next line of AsmParser.cpp after this new code.
llvm-svn: 122531
|
|
|
|
|
|
| |
This fixed 8615.
llvm-svn: 122150
|
|
|
|
|
|
|
|
|
| |
by the assembler. This was blocking parsing any large .s produced by clang for
example.
Fixes PR8596.
llvm-svn: 120603
|