summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmStreamer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API asKevin Enderby2009-07-201-12/+0
| | | | | | | | | 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
* Removed the SubsectionsViaSymbols MCStreamer API and replaced it with a genericKevin Enderby2009-07-161-3/+6
| | | | | | | EmitAssemblerFlag API which takes a value from the added AssemblerFlag enumerated constants. llvm-svn: 76087
* implement .include in the lexer/parser instead of passing it into the streamer.Chris Lattner2009-07-161-6/+0
| | | | llvm-svn: 75896
* Added llvm-mc support for parsing the .dump and .load directives.Kevin Enderby2009-07-151-0/+12
| | | | llvm-svn: 75786
* Added llvm-mc support for parsing the .include directive.Kevin Enderby2009-07-141-0/+6
| | | | llvm-svn: 75711
* Added llvm-mc support for parsing the .lsym directive.Kevin Enderby2009-07-141-0/+6
| | | | llvm-svn: 75685
* Added llvm-mc support for parsing the .desc directive.Kevin Enderby2009-07-141-0/+6
| | | | llvm-svn: 75645
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-3/+3
| | | | | | | | | 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
* Added llvm-mc support for parsing the .abort directive.Kevin Enderby2009-07-131-0/+10
| | | | llvm-svn: 75545
* add llvm-mc support for parsing the .subsections_via_symbols directive.Kevin Enderby2009-07-131-0/+6
| | | | llvm-svn: 75500
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-3/+5
| | | | | | | | | 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
* add support for .zerofill, patch by Kevin Enderby!Chris Lattner2009-07-101-0/+18
| | | | llvm-svn: 75301
* add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby!Chris Lattner2009-07-091-3/+6
| | | | llvm-svn: 75148
* Implement parsing support for the .comm directive. Patch byChris Lattner2009-07-071-0/+12
| | | | | | Kevin Enderby! llvm-svn: 74944
* Dump MCInsts in the MC .s printer, for now.Daniel Dunbar2009-07-011-2/+23
| | | | llvm-svn: 74593
* llvm-mc: Parse .{,b,p2}align{,w,l} directives.Daniel Dunbar2009-06-291-5/+9
| | | | llvm-svn: 74478
* Initialize CurSection in constructor.Torok Edwin2009-06-291-1/+1
| | | | | | Not doing so causes some unittests to fail, because CurSection is uninitialized. llvm-svn: 74442
* Rename MCValue::getCst to getConstant and add MCValue::isConstant.Daniel Dunbar2009-06-291-4/+4
| | | | llvm-svn: 74440
* MC: Truncate values when printing, to keep 'as' happy.Daniel Dunbar2009-06-251-3/+13
| | | | llvm-svn: 74201
* Sketch streamer support for .align, .org functionality.Daniel Dunbar2009-06-241-0/+37
| | | | llvm-svn: 74109
* We decided to not worry about Atoms for now, it should be straightforward toDaniel Dunbar2009-06-241-7/+14
| | | | | | | | reintroduce them later. Also, don't require MCSection* when creating a symbol. llvm-svn: 74081
* MCStreamer: Add a few more "symbol attributes".Daniel Dunbar2009-06-241-1/+10
| | | | llvm-svn: 74077
* MCStreamer: Test printing values.Daniel Dunbar2009-06-241-1/+1
| | | | llvm-svn: 74076
* add trivial support for passing label definitions through the MCStreamer.Chris Lattner2009-06-241-2/+2
| | | | | | | This is suboptimal in several aspects, see the commented out assertion. I need to talk to Daniel about this. llvm-svn: 74057
* Start MCAsmStreamer implementation.Daniel Dunbar2009-06-241-0/+143
llvm-svn: 74044
OpenPOWER on IntegriCloud