| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 81997
|
| |
|
|
|
|
|
|
| |
that things like .word can be parsed as target specific. Moved parsing .word
out of AsmParser.cpp into X86AsmParser.cpp as it is 2 bytes on X86 and 4 bytes
for other targets that support the .word directive.
llvm-svn: 81461
|
| |
|
|
| |
llvm-svn: 81109
|
| |
|
|
| |
llvm-svn: 80578
|
| |
|
|
| |
llvm-svn: 80577
|
| |
|
|
| |
llvm-svn: 80576
|
| |
|
|
| |
llvm-svn: 80574
|
| |
|
|
| |
llvm-svn: 80571
|
| |
|
|
|
|
| |
taking the MCContext (which now owns all MCExprs).
llvm-svn: 80569
|
| |
|
|
| |
llvm-svn: 80567
|
| |
|
|
|
|
|
|
| |
for now.
- Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency).
llvm-svn: 80484
|
| |
|
|
| |
llvm-svn: 80343
|
| |
|
|
| |
llvm-svn: 80342
|
| |
|
|
|
|
|
| |
--- Reverse-merging r80305 into '.':
U tools/llvm-mc/AsmParser.cpp
llvm-svn: 80309
|
| |
|
|
| |
llvm-svn: 80305
|
| |
|
|
|
|
|
|
| |
sections, etc.
- The quick and dirty way, just clone the TargetLoweringObjectFile
code. Eventually this should be shared... somehow.
llvm-svn: 80168
|
| |
|
|
|
|
|
|
| |
- I moved section creation back into AsmParser. I think policy decisions like
this should be pushed higher, not lower, when possible (in addition the
assembler has flags which change this behavior, for example).
llvm-svn: 80162
|
| |
|
|
|
|
| |
Also, warn about overflow in alignment values.
llvm-svn: 80077
|
| |
|
|
|
|
|
|
|
| |
(external was really undefined and there wasn't an explicit representation for
absolute symbols).
- This still needs some cleanup to how the absolute "pseudo" section is dealt
with, but I haven't figured out the nicest approach yet.
llvm-svn: 79733
|
| |
|
|
|
|
|
|
| |
(e.g., .objc_message_refs).
- Just emit a .align when we see the directive; this isn't exactly what 'as'
does but in practice it should be ok, at least for now. See FIXME.
llvm-svn: 79697
|
| |
|
|
|
|
| |
count is given (this matches 'as').
llvm-svn: 79683
|
| |
|
|
| |
llvm-svn: 79635
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add missing flags for various Objective-C sections.
- Fix names for [non_]lazy_symbol_pointer (these are misspelled in the manual).
- .symbol_stub does not have the self modifying code flag set (this appears to
be wrong in the manual?).
- Add implicit alignment values; not yet used.
Also, call MCStreamer::Finish at the end of a successful parse.
llvm-svn: 79611
|
| |
|
|
| |
llvm-svn: 79010
|
| |
|
|
| |
llvm-svn: 78641
|
| |
|
|
|
|
| |
yet (I'm not even sure what they do).
llvm-svn: 78639
|
| |
|
|
|
|
|
| |
(and outputting a diagnostic pointing at the wrong place), all of which lead to
much confusion.
llvm-svn: 78637
|
| |
|
|
| |
llvm-svn: 78576
|
| |
|
|
| |
llvm-svn: 78575
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of syntactically as a string. This means that it keeps track of the
segment, section, flags, etc directly and asmprints them in the right format.
This also includes parsing and validation support for llvm-mc and
"attribute(section)", so we should now start getting errors about invalid
section attributes from the compiler instead of the assembler on darwin.
Still todo:
1) Uniquing of darwin mcsections
2) Move all the Darwin stuff out to MCSectionMachO.[cpp|h]
3) there are a few FIXMEs, for example what is the syntax to get the
S_GB_ZEROFILL segment type?
llvm-svn: 78547
|
| |
|
|
|
|
|
|
| |
classes.
This totally optimizes PIC16 sections by not having an 'isdirective' bit anymore!! ;-)
llvm-svn: 78517
|
| |
|
|
|
|
|
| |
llvm-mc's purpose yet and we'll want to switch to creating semantic sections
at some point.
llvm-svn: 78509
|
| |
|
|
|
|
|
|
| |
I can clean this up a bit more and do way with the TheCondState and just use
the top element on the TheCondStack if not empty. Also may tweak the code
around ParseConditionalAssemblyDirectives() to simplify the AsmParser code.
llvm-svn: 78423
|
| |
|
|
| |
llvm-svn: 77804
|
| |
|
|
| |
llvm-svn: 77787
|
| |
|
|
| |
llvm-svn: 77761
|
| |
|
|
|
|
|
|
|
| |
- Uses MCAsmToken::getIdentifier which returns the (sub)string representing the
meaningfull contents a string or identifier token.
- Directives aren't done yet.
llvm-svn: 77739
|
| |
|
|
| |
llvm-svn: 77700
|
| |
|
|
|
|
| |
sections.
llvm-svn: 77689
|
| |
|
|
| |
llvm-svn: 77384
|
| |
|
|
| |
llvm-svn: 77328
|
| |
|
|
| |
llvm-svn: 77323
|
| |
|
|
| |
llvm-svn: 77322
|
| |
|
|
| |
llvm-svn: 77272
|
| |
|
|
|
|
| |
- My DFS traversal of LLVM is, at least for now, nearly complete! :)
llvm-svn: 77258
|
| |
|
|
|
|
|
|
|
| |
the parsing of the .dump and .load should be done in the assembly parser and
not have any need for an MCStreamer API. Changed the code for now so these
just produce an error saying these specific directives are not yet implemented
since they are likely no longer used and may never need to be implemented.
llvm-svn: 76462
|
| |
|
|
|
|
|
| |
- This provides the AsmParser interface to the target specific assembly
parsers.
llvm-svn: 76453
|
| |
|
|
|
|
|
| |
EmitAssemblerFlag API which takes a value from the added AssemblerFlag
enumerated constants.
llvm-svn: 76087
|
| |
|
|
|
|
| |
so it is defined with a lifetime that is as short as possible.
llvm-svn: 76082
|
| |
|
|
| |
llvm-svn: 75896
|