Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MC: Add an MCLoggingStreamer, for use in debugging integrated-as mismatches. | Daniel Dunbar | 2010-05-23 | 1 | -0/+7 | |
| | | | | llvm-svn: 104463 | |||||
* | Currently, createMachOStreamer() is invoked directly in llvm-mc which | Matt Fleming | 2010-05-21 | 1 | -1/+2 | |
| | | | | | | | | | isn't ideal if we want to be able to use another object file format. Add a createObjectStreamer() factory method so that the correct object file streamer can be instantiated for a given target triple. llvm-svn: 104318 | |||||
* | Remove dead option. | Daniel Dunbar | 2010-05-21 | 1 | -3/+0 | |
| | | | | llvm-svn: 104303 | |||||
* | Extended the edis "IsBranch" property to call | Sean Callanan | 2010-05-11 | 1 | -0/+5 | |
| | | | | | | | instructions as well. Added support for checking this to the llvm-mc tester as well. llvm-svn: 103454 | |||||
* | Fixed a sign-extension bug in the X86 disassembler | Sean Callanan | 2010-05-05 | 1 | -0/+2 | |
| | | | | | | | | that was causing PC-relative branch targets to be evaluated incorrectly. Also added support for checking operand values to the llvm-mc tester. llvm-svn: 103128 | |||||
* | Add CMake support for 'edis'. | Ted Kremenek | 2010-04-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 101177 | |||||
* | Make the disassembler respect the assembler dialect when printing instructions, | Chris Lattner | 2010-04-13 | 1 | -1/+3 | |
| | | | | | | patch by Marius Wachtler! llvm-svn: 101160 | |||||
* | Second try at integrating the edis tester. This | Sean Callanan | 2010-04-12 | 4 | -41/+250 | |
| | | | | | | | | | | | time I use the LIBS variable, which is not subject to a %.a -> -l% transformation, to link llvm-mc against libEnhancedDisassembly. llvm-mc -edis works the same as llvm-mc -disassemble, but outputs tokens and operands. llvm-svn: 101058 | |||||
* | revert r100842 which broke several of the build bots. | Chris Lattner | 2010-04-09 | 4 | -248/+41 | |
| | | | | llvm-svn: 100848 | |||||
* | Added a tester for the enhanced disassembler, | Sean Callanan | 2010-04-09 | 4 | -41/+248 | |
| | | | | | | integrated into the llvm-mc testing tool. llvm-svn: 100842 | |||||
* | tidy #includes. | Chris Lattner | 2010-04-05 | 1 | -7/+7 | |
| | | | | llvm-svn: 100489 | |||||
* | fix an ugly wart in the MCInstPrinter api where the | Chris Lattner | 2010-04-04 | 2 | -5/+5 | |
| | | | | | | | | raw_ostream to print an instruction to had to be specified at MCInstPrinter construction time instead of being able to pick at each call to printInstruction. llvm-svn: 100307 | |||||
* | remove some extraneous casts | Chris Lattner | 2010-04-03 | 1 | -2/+2 | |
| | | | | llvm-svn: 100287 | |||||
* | llvm-mc: Add a -mc-relax-all option, which relaxes every fixup. We always need | Daniel Dunbar | 2010-03-25 | 1 | -1/+4 | |
| | | | | | | | exactly two passes in that case, and don't ever need to recompute any layout, so this is a nice baseline for relaxation performance. llvm-svn: 99563 | |||||
* | llvm-mc: Support -filetype=null, for timing purposes. | Daniel Dunbar | 2010-03-23 | 1 | -0/+5 | |
| | | | | llvm-svn: 99349 | |||||
* | llvm-mc: Fix MCInstPrinter memory leaks. | Daniel Dunbar | 2010-03-20 | 1 | -9/+8 | |
| | | | | llvm-svn: 99101 | |||||
* | llvm-mc: Fix memory leak of MCAsmInfo. | Daniel Dunbar | 2010-03-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 99098 | |||||
* | llvm-mc: Fix target selection for --disassemble to use GetTarget. | Daniel Dunbar | 2010-03-19 | 1 | -6/+2 | |
| | | | | llvm-svn: 98973 | |||||
* | fix an MCInstPrinter leak that jyasskin pointed out: | Chris Lattner | 2010-03-19 | 1 | -4/+3 | |
| | | | | | | createAsmStreamer now takes ownership of the instprinter. llvm-svn: 98939 | |||||
* | llvm-mc: Delete output files on error. | Daniel Dunbar | 2010-03-13 | 1 | -0/+4 | |
| | | | | llvm-svn: 98445 | |||||
* | llvm-mc: Support -n, useful for comparing -integrated-as output since the | Daniel Dunbar | 2010-03-13 | 1 | -1/+5 | |
| | | | | | | compiler may not lead with the text section. llvm-svn: 98418 | |||||
* | llvm-mc: Support -arch as a simplified form of -triple. | Daniel Dunbar | 2010-03-13 | 1 | -2/+15 | |
| | | | | llvm-svn: 98417 | |||||
* | remove MAI argument from createAsmStreamer since it | Chris Lattner | 2010-03-12 | 1 | -2/+1 | |
| | | | | | | can get it from the context now. llvm-svn: 98361 | |||||
* | change MCContext to always have an MCAsmInfo. | Chris Lattner | 2010-03-11 | 1 | -4/+5 | |
| | | | | llvm-svn: 98293 | |||||
* | MC: Provide MCAssembler with a TargetAsmBackend. | Daniel Dunbar | 2010-03-11 | 1 | -1/+4 | |
| | | | | llvm-svn: 98222 | |||||
* | give MCCodeEmitters access to the current MCContext. | Chris Lattner | 2010-02-12 | 1 | -2/+2 | |
| | | | | llvm-svn: 96038 | |||||
* | llvm-mc: Remove --show-fixups and always show as part of --show-encoding. | Daniel Dunbar | 2010-02-10 | 1 | -4/+1 | |
| | | | | | | Also, fix a silly memory leak. llvm-svn: 95752 | |||||
* | llvm-mc: Add --show-fixups option, for displaying the instruction fixup ↵ | Daniel Dunbar | 2010-02-09 | 1 | -1/+4 | |
| | | | | | | information in the asm comments. llvm-svn: 95710 | |||||
* | llvm-mc: Add --show-inst option, for showing the MCInst inline with the assembly | Daniel Dunbar | 2010-02-03 | 1 | -1/+5 | |
| | | | | | | output. llvm-svn: 95227 | |||||
* | Fixed the disassembler so it accepts multiple | Sean Callanan | 2010-02-03 | 1 | -28/+20 | |
| | | | | | | | instructions on a single line. Also made it a bit more forgiving when it reports errors. llvm-svn: 95197 | |||||
* | make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. | Chris Lattner | 2010-01-24 | 1 | -1/+0 | |
| | | | | llvm-svn: 94378 | |||||
* | pass "-fasm-verbose" into createAsmStreamer. | Chris Lattner | 2010-01-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 94165 | |||||
* | Stop building RTTI information for *most* llvm libraries. Notable | Chris Lattner | 2010-01-22 | 1 | -0/+1 | |
| | | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164 | |||||
* | move some files out of the llvm-mc tool into the MCParser library so | Chris Lattner | 2010-01-22 | 7 | -2379/+1 | |
| | | | | | | other tools can link it. llvm-svn: 94131 | |||||
* | create a new MCParser library and move some stuff into it. | Chris Lattner | 2010-01-22 | 6 | -6/+6 | |
| | | | | llvm-svn: 94129 | |||||
* | remove some confused code that used strtoull | Chris Lattner | 2010-01-22 | 1 | -12/+5 | |
| | | | | llvm-svn: 94128 | |||||
* | Moved handling of inclusion from the AsmLexer to | Sean Callanan | 2010-01-21 | 5 | -55/+60 | |
| | | | | | | | the AsmParser, breaking AsmLexer's dependence on SourceMgr. llvm-svn: 94054 | |||||
* | Changed the AsmParser to handle error messages itself | Sean Callanan | 2010-01-20 | 5 | -15/+15 | |
| | | | | | | | | rather than passing them off to the AsmLexer to handle. This means the AsmLexer no longer requires a SourceMgr to do error handling. llvm-svn: 94047 | |||||
* | Promoted the reference to the SourceMgr from AsmLexer | Sean Callanan | 2010-01-20 | 2 | -2/+4 | |
| | | | | | | | into AsmParser, in preparation for making AsmLexer independent of the SourceMgr llvm-svn: 94043 | |||||
* | Modified MCAsmLexer to return error information upward | Sean Callanan | 2010-01-20 | 2 | -2/+8 | |
| | | | | | | | rather than printing it locally, reducing its dependence on SourceMgr. llvm-svn: 94041 | |||||
* | give createAsmStreamer an 'isLittleEndian' argument. | Chris Lattner | 2010-01-20 | 1 | -1/+4 | |
| | | | | llvm-svn: 93986 | |||||
* | Promoted the getTok() method to MCAsmParser so that | Sean Callanan | 2010-01-19 | 1 | -17/+17 | |
| | | | | | | | the two token accessor functions are declared consistently. Modified the clients of MCAsmParser to reflect this change. llvm-svn: 93916 | |||||
* | Added a Lex function to the AsmParser, to allow handling | Sean Callanan | 2010-01-19 | 2 | -74/+81 | |
| | | | | | | | | of include directives to occur within the parser itself. This will break the lexer's dependency on a SourceMgr as input. llvm-svn: 93899 | |||||
* | Generalize mcasmstreamer data emission APIs to take an address space | Chris Lattner | 2010-01-19 | 1 | -5/+9 | |
| | | | | | | identifier. There is no way to work around it. llvm-svn: 93896 | |||||
* | add a "MCStreamer::EmitFill" method, and move the default implementation | Chris Lattner | 2010-01-19 | 1 | -2/+1 | |
| | | | | | | (which just iteratively emits bytes) to MCStreamer. llvm-svn: 93888 | |||||
* | fix parsing .comm directives on systems which do not represent alignments | Chris Lattner | 2010-01-19 | 2 | -1/+10 | |
| | | | | | | as a power of 2. This fixes MC/AsmParser/directive_comm.s llvm-svn: 93867 | |||||
* | fix a bug in range information for $42, eliminate an | Chris Lattner | 2010-01-15 | 2 | -7/+4 | |
| | | | | | | unneeded argument from ParseExpression. llvm-svn: 93536 | |||||
* | extend MCAsmParser::ParseExpression and ParseParenExpression | Chris Lattner | 2010-01-15 | 2 | -25/+33 | |
| | | | | | | | to return range information for subexpressions. Use this to provide range info for several new X86Operands. llvm-svn: 93534 | |||||
* | add virtual methods to get the start/end of a MCParsedAsmOperand, | Chris Lattner | 2010-01-14 | 1 | -0/+5 | |
| | | | | | | the default implementation returns "unknown". llvm-svn: 93470 | |||||
* | Split the TargetAsmParser "ParseInstruction" interface in half: | Chris Lattner | 2010-01-14 | 2 | -3/+22 | |
| | | | | | | | | | | | the new ParseInstruction method just parses and returns a list of target operands. A new MatchInstruction interface is used to turn the operand list into an MCInst. This requires new/deleting all the operands, but it also gives targets the ability to use polymorphic operands if they want to. llvm-svn: 93469 |