| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 79763
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
llvm-svn: 79408
|
|
|
|
| |
llvm-svn: 79406
|
|
|
|
|
|
| |
talk to the MCStreamer directly instead.
llvm-svn: 79405
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the
MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter.
While I'm at it, clean up the last of the horrible "switch to null section" stuff
and add an assert. This change is in preparation for completely eliminating
asmprinter::switchtosection.
llvm-svn: 79324
|
|
|
|
|
|
|
|
|
| |
doing it directly. This requires const'izing a bunch of stuff that
took sections, but this seems like the right semantic thing to do:
emitting a label to a section shouldn't mutate the MCSection object
itself, for example.
llvm-svn: 79227
|
|
|
|
| |
llvm-svn: 79222
|
|
|
|
| |
llvm-svn: 79221
|
|
|
|
|
|
|
| |
- We now print all of 403.gcc cleanly (llvm-mc -> 'as' as diffed to 'as'), minus two
'rep;movsl' instructions (which I missed before).
llvm-svn: 79031
|
|
|
|
|
|
|
|
| |
symbol as the symbol name itself, not the expression it was defined to. These
have different semantics due to the quirky .set behavior (which absolutizes an
expression that would otherwise be treated as a relocation).
llvm-svn: 79025
|
|
|
|
| |
llvm-svn: 79017
|
|
|
|
|
|
|
|
|
|
|
| |
specific printer (this only works on x86, for now).
- This makes it possible to do some correctness checking of the parsing and
matching, since we can compare the results of 'as' on the original input, to
those of 'as' on the output from llvm-mc.
- In theory, we could now have an easy ATT -> Intel syntax converter. :)
llvm-svn: 78986
|
|
|
|
|
|
|
|
| |
- Currently unused.
- A few other random comment fixes lumped in.
llvm-svn: 78960
|
|
|
|
| |
llvm-svn: 78576
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-svn: 77749
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
EmitAssemblerFlag API which takes a value from the added AssemblerFlag
enumerated constants.
llvm-svn: 76087
|
|
|
|
| |
llvm-svn: 75896
|
|
|
|
| |
llvm-svn: 75786
|
|
|
|
| |
llvm-svn: 75711
|
|
|
|
| |
llvm-svn: 75685
|
|
|
|
| |
llvm-svn: 75645
|
|
|
|
|
|
|
|
|
| |
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640
|
|
|
|
| |
llvm-svn: 75545
|
|
|
|
| |
llvm-svn: 75500
|
|
|
|
|
|
|
|
|
| |
Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379
|
|
|
|
| |
llvm-svn: 75301
|
|
|
|
| |
llvm-svn: 75148
|
|
|
|
|
|
| |
Kevin Enderby!
llvm-svn: 74944
|
|
|
|
| |
llvm-svn: 74593
|
|
|
|
| |
llvm-svn: 74478
|
|
|
|
|
|
| |
Not doing so causes some unittests to fail, because CurSection is uninitialized.
llvm-svn: 74442
|
|
|
|
| |
llvm-svn: 74440
|
|
|
|
| |
llvm-svn: 74201
|
|
|
|
| |
llvm-svn: 74109
|
|
|
|
|
|
|
|
| |
reintroduce them later.
Also, don't require MCSection* when creating a symbol.
llvm-svn: 74081
|
|
|
|
| |
llvm-svn: 74077
|
|
|
|
| |
llvm-svn: 74076
|
|
|
|
|
|
|
| |
This is suboptimal in several aspects, see the commented out assertion.
I need to talk to Daniel about this.
llvm-svn: 74057
|
|
llvm-svn: 74044
|