summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
Commit message (Collapse)AuthorAgeFilesLines
* Add relax all support to the COFF object streamer.Michael J. Spencer2010-07-311-2/+5
| | | | llvm-svn: 109947
* MC: Initialize MCFragment::Offset, noticed by Cameron Esfahani.Daniel Dunbar2010-07-301-1/+2
| | | | llvm-svn: 109875
* Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ↵Benjamin Kramer2010-07-292-1/+5
| | | | | | ownership of the TargetAsmBackend and the MCCodeEmitter. llvm-svn: 109767
* Stop leaking std::strings in GetDwarfFile.Benjamin Kramer2010-07-291-8/+8
| | | | llvm-svn: 109746
* COFFObjectWriter: Don't leak COFFSymbols and COFFSections.Benjamin Kramer2010-07-291-0/+8
| | | | llvm-svn: 109745
* MC: Destroy Macro instances.Daniel Dunbar2010-07-291-0/+7
| | | | llvm-svn: 109720
* Added first bit of support for the dwarf .file directive. This patch collectsKevin Enderby2010-07-284-1/+99
| | | | | | | the info from the .file directive and makes file and directory tables that will eventually be put out as part of the dwarf info in the output file. llvm-svn: 109651
* MC: Put back the MCFragment vtable, so subclasses are destroyed properly (duh).Daniel Dunbar2010-07-281-0/+3
| | | | llvm-svn: 109649
* Fix format-specifier warningDouglas Gregor2010-07-261-1/+1
| | | | llvm-svn: 109391
* MC: Fix whitespace error from last commit.Michael J. Spencer2010-07-261-1/+1
| | | | | | A Visual C++ extension that removes trailing new lines? Seriously? llvm-svn: 109390
* MC: Add WinCOFFObjectWriter implementation.Michael J. Spencer2010-07-261-14/+674
| | | | | | Origonal Windows COFF implementation by Nathan Jedffords. llvm-svn: 109389
* Initial modifications to MCAssembler and TargetMachine for the MCJIT.Reid Kleckner2010-07-221-4/+10
| | | | | | Patch by Olivier Meurant! llvm-svn: 109080
* Add some more handlers for ELF section directives.Matt Fleming2010-07-201-0/+54
| | | | llvm-svn: 108928
* Let's get those buildbots green: #include is needed in the header, not just ↵Owen Anderson2010-07-202-1/+1
| | | | | | the implementation. llvm-svn: 108912
* apparently also missing an include.Chris Lattner2010-07-201-0/+1
| | | | llvm-svn: 108908
* this is in SystemChris Lattner2010-07-201-1/+1
| | | | llvm-svn: 108895
* turn this into a normal header.Chris Lattner2010-07-201-8/+11
| | | | llvm-svn: 108891
* hopefully heal the linux buildersChris Lattner2010-07-201-0/+1
| | | | llvm-svn: 108890
* there is no reason to dynamically generate a static header.Chris Lattner2010-07-204-16/+71
| | | | llvm-svn: 108887
* drop edinfo.inc into the objdir for src!=objdir builds.Chris Lattner2010-07-201-2/+2
| | | | llvm-svn: 108886
* Update header.Eric Christopher2010-07-201-1/+1
| | | | llvm-svn: 108883
* hopefully teach cmake to build the .inc file.Chris Lattner2010-07-201-0/+9
| | | | llvm-svn: 108874
* cmake tooChris Lattner2010-07-201-0/+6
| | | | llvm-svn: 108872
* forgot to add a fileChris Lattner2010-07-201-0/+21
| | | | llvm-svn: 108870
* start straightening out libedis's dependencies and make it fitChris Lattner2010-07-209-1/+1779
| | | | | | | | | | | | | | | | better in the llvm world. Among other things, this changes: 1. The guts of libedis are now moved into lib/MC/MCDisassembler 2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis, so edis and mc don't have to be built in series. 3. lib/MC/MCDisassembler no longer depends on the C api, the C API depends on it. 4. Various code cleanup changes. There is still a lot to be done to make edis fit with the llvm design, but this is an incremental step in the right direction. llvm-svn: 108869
* MC/Mach-O: Silently ignore .file directives instead of error'ing out onDaniel Dunbar2010-07-191-2/+8
| | | | | | | them. They aren't important enough to abort the entire assembly, and failing early makes testing more annoying. llvm-svn: 108747
* _[A-Z] identifiers are reserved for the implementation.Michael J. Spencer2010-07-191-1/+1
| | | | llvm-svn: 108682
* MC: Add WinCOFFStreamer implementation and merge common code from MachOMichael J. Spencer2010-07-193-81/+239
| | | | | | | | into MCObjectStreamer. Origonal Windows COFF implementation by Nathan Jedffords. llvm-svn: 108678
* TblGen/AsmMatcher: Add support for honoring instruction Requires<[]> ↵Daniel Dunbar2010-07-191-1/+1
| | | | | | | | attributes as part of the matcher. - Currently includes a hack to limit ourselves to "In32BitMode" and "In64BitMode", because we don't have the other infrastructure to properly deal with setting SSE, etc. features on X86. llvm-svn: 108677
* Make .align parse correctly on platforms where .align is measured in bytes.Eli Friedman2010-07-191-5/+8
| | | | llvm-svn: 108674
* MC/AsmParser: Stop playing unsafe member function pointer calls, this isn'tDaniel Dunbar2010-07-183-187/+93
| | | | | | | | portable enough. - Downside is we now double dispatch through a stub function, but this isn't performance critical. llvm-svn: 108661
* MC/AsmParser: Fix .abort and .secure_log_unique to accept arbitrary tokenDaniel Dunbar2010-07-182-25/+26
| | | | | | sequences, not just strings. llvm-svn: 108655
* MC/AsmParser: Add macro argument substitution support.Daniel Dunbar2010-07-181-8/+85
| | | | llvm-svn: 108654
* MC/AsmParser: Add basic support for macro instantiation.Daniel Dunbar2010-07-181-20/+112
| | | | llvm-svn: 108653
* MC/AsmParser: Add basic parsing support for .macro definitions.Daniel Dunbar2010-07-181-0/+96
| | | | llvm-svn: 108652
* MC/AsmParser: Add .macros_{off,on} support, not that makes sense since we don'tDaniel Dunbar2010-07-181-5/+37
| | | | | | support macros. llvm-svn: 108649
* MC/AsmParser: Use Error() instead of calling PrintMessage() directly.Daniel Dunbar2010-07-181-4/+2
| | | | llvm-svn: 108648
* MC/AsmParser: Fix TokError() to accept a Twine.Daniel Dunbar2010-07-182-1/+2
| | | | llvm-svn: 108647
* MC/AsmParser: Hide the AsmParser implementation.Daniel Dunbar2010-07-181-3/+117
| | | | llvm-svn: 108646
* Start of .sleb128/.uleb128 parsing support.Eli Friedman2010-07-171-0/+26
| | | | llvm-svn: 108612
* Work-in-progress parsing for ELF .section directive.Eli Friedman2010-07-171-5/+113
| | | | llvm-svn: 108609
* Add support for parsing .size directives for ELF.Eli Friedman2010-07-171-0/+24
| | | | llvm-svn: 108606
* MC/AsmParser: Lift Run() and TargetParser to base class.Daniel Dunbar2010-07-172-8/+16
| | | | | | Also, add constructor function for creating AsmParser instances. llvm-svn: 108604
* fix indentation and 80 colsChris Lattner2010-07-151-2/+3
| | | | llvm-svn: 108460
* Don't pass StringRef by reference.Benjamin Kramer2010-07-141-1/+1
| | | | llvm-svn: 108366
* MC/AsmParser: Move ELF specific parser to ELFAsmParser.cpp.Daniel Dunbar2010-07-123-43/+71
| | | | llvm-svn: 108196
* MC/AsmParser: Move Darwin specific parse to DarwinAsmParser.cpp.Daniel Dunbar2010-07-123-728/+766
| | | | llvm-svn: 108193
* MC/AsmParser: Move .section parsing to Darwin specific parser.Daniel Dunbar2010-07-121-13/+10
| | | | llvm-svn: 108190
* MC/AsmParser: Move special section directive parsing to Darwin specific parser.Daniel Dunbar2010-07-121-158/+316
| | | | llvm-svn: 108187
* MC/AsmParser: Add a basic ELFAsmParser extension.Daniel Dunbar2010-07-121-0/+45
| | | | llvm-svn: 108185
OpenPOWER on IntegriCloud