| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 158604
|
| |
|
|
|
|
|
| |
Patch extracted from a larger one by the PaX team. I added the testcases
and tightened error handling a bit.
llvm-svn: 158523
|
| |
|
|
|
|
|
| |
vector. No functionality change.
Extracted from a patch by the PaX Team.
llvm-svn: 157909
|
| |
|
|
|
|
| |
Part of a patch by the PaX Team.
llvm-svn: 157908
|
| |
|
|
| |
llvm-svn: 157885
|
| |
|
|
| |
llvm-svn: 156716
|
| |
|
|
|
|
| |
for nesting.
llvm-svn: 156714
|
| |
|
|
|
|
| |
Based on a patch by Team PaX.
llvm-svn: 156709
|
| |
|
|
|
|
|
|
| |
unsupported.
Patch by Team PaX!
llvm-svn: 156708
|
| |
|
|
| |
llvm-svn: 156707
|
| |
|
|
|
|
| |
Based on a patch from PaX Team.
llvm-svn: 156706
|
| |
|
|
|
|
| |
Based on a patch from PaX Team.
llvm-svn: 156705
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The caller is already responsible for eating any additional input on the
line. Putting an additional EatToEndOfStatement() in ParseStatement()
causes an entire extra statement to be consumed when treating warnings
as errors. For example, test/MC/macros.s will assert() because the
.endmacro directive is missed as a result.
rdar://11355843
llvm-svn: 155925
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 153502
|
| |
|
|
|
|
| |
rdar://11027851
llvm-svn: 153137
|
| |
|
|
|
|
|
|
| |
evaluated to '1' when the argument list was empty (should be '0').
rdar://11057257
llvm-svn: 152967
|
| |
|
|
| |
llvm-svn: 149967
|
| |
|
|
|
|
| |
parser change dialect on the fly.
llvm-svn: 149396
|
| |
|
|
| |
llvm-svn: 149179
|
| |
|
|
| |
llvm-svn: 149175
|
| |
|
|
|
|
| |
messages and allows us to fix PR11865.
llvm-svn: 149174
|
| |
|
|
|
|
| |
Provide source line number information.
llvm-svn: 149101
|
| |
|
|
| |
llvm-svn: 148733
|
| |
|
|
| |
llvm-svn: 148578
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 147880
|
| |
|
|
|
|
|
| |
functional change in r147860 to use DW_TAG_label's instead TAG_subprogram's.
This only changes names and updates comments. No functional change.
llvm-svn: 147877
|
| |
|
|
| |
llvm-svn: 147356
|
| |
|
|
| |
llvm-svn: 147352
|
| |
|
|
|
|
| |
buffer copy. Suggestion by Chris Lattner!
llvm-svn: 146614
|
| |
|
|
|
|
| |
getStreamer().EmitBytes. Suggestion by Benjamin Kramer!
llvm-svn: 146599
|
| |
|
|
|
|
| |
it to the streamer. rdar://10383898
llvm-svn: 146592
|
| |
|
|
|
|
|
|
|
|
| |
generates the dwarf Compile Unit DIE and a dwarf subprogram DIE for each
non-temporary label.
The next part will be to get the clang driver to enable this when assembling
a .s file. rdar://9275556
llvm-svn: 146262
|
| |
|
|
|
|
| |
Thanks to Nick for spotting this!
llvm-svn: 143556
|
| |
|
|
|
|
|
|
|
|
|
|
| |
-g flag. In this part we generate the .file for the source being assembled and
the .loc's for the assembled instructions.
The next part will be to generate the dwarf Compile Unit DIE and a dwarf
subprogram DIE for each non-temporary label.
Once the next part is done test cases will be added. rdar://9275556
llvm-svn: 143509
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
diagnostics for #line directives.
This reenables proper inline asm diagnostics in clang
llvm-svn: 142132
|
| |
|
|
| |
llvm-svn: 142108
|
| |
|
|
|
|
|
|
| |
note/warning/error as a
string, pass it around as an enum.
llvm-svn: 142107
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
does. Enhance
the X86 asmparser to produce ranges in the one case that was annoying me, for example:
test.s:10:15: error: invalid operand for instruction
movl 0(%rax), 0(%edx)
^~~~~~~
It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use
ranges where appropriate if someone is interested.
llvm-svn: 142106
|
| |
|
|
|
|
|
|
| |
for cpp pre-processed assembly we give correct filename and line numbers when
reporting errors in assembly files when using clang and -integrated-as on .s
files. rdar://8998895
llvm-svn: 141814
|
| |
|
|
|
|
|
|
|
| |
Assembler private local symbols aren't legal targets of symbol attributes,
so issue a diagnostic for them.
Based on patch by Stepan Dyatkovskiy.
llvm-svn: 139807
|
| |
|
|
|
|
|
|
|
| |
#line directives with the needed support in the lexer. Next will be to build
a simple file/line# table mapping source SMLoc's for later use by diagnostics.
And the last step will be to get the diagnostics to use the mapping for file
and line numbers.
llvm-svn: 139669
|
| |
|
|
|
|
| |
rdar://9976729
llvm-svn: 138208
|
| |
|
|
|
|
| |
The argument is unused, and is a layering violation in any case.
llvm-svn: 137735
|
| |
|
|
| |
llvm-svn: 136197
|
| |
|
|
|
|
| |
MCTargetAsmLexer; rename createAsmLexer to createMCAsmLexer and createAsmParser to createMCAsmParser.
llvm-svn: 136027
|