Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add registry hook for assembly text output | Che-Liang Chiou | 2010-11-08 | 1 | -3/+3 | |
| | | | | llvm-svn: 118394 | |||||
* | Allow specifying a CPU to llvm-mc, so that we can properly set up subtarget | Jim Grosbach | 2010-10-30 | 1 | -1/+20 | |
| | | | | | | feature lists for instruction pattern predicates. llvm-svn: 117788 | |||||
* | llvm-mc: Teach -as-lex to print the raw token string as well. | Daniel Dunbar | 2010-10-25 | 1 | -42/+49 | |
| | | | | llvm-svn: 117296 | |||||
* | Move tool_output_file into its own file. | Dan Gohman | 2010-10-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 115973 | |||||
* | MC/Lexer: Add 'Real' token type for floating point literals. | Daniel Dunbar | 2010-09-24 | 1 | -0/+3 | |
| | | | | llvm-svn: 114718 | |||||
* | llvm-mc: Teach -as-lex to print more token kinds. | Daniel Dunbar | 2010-09-16 | 1 | -3/+13 | |
| | | | | llvm-svn: 114051 | |||||
* | Make tool_output_file's raw_ostream instance a member variable instead | Dan Gohman | 2010-09-01 | 1 | -43/+43 | |
| | | | | | | | | | | of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706 | |||||
* | tidy up | Chris Lattner | 2010-08-28 | 1 | -1/+2 | |
| | | | | llvm-svn: 112385 | |||||
* | Straighten out any triple strings passed on the command line before | Duncan Sands | 2010-08-28 | 1 | -0/+1 | |
| | | | | | | they hit the rest of the system. llvm-svn: 112344 | |||||
* | Use the new tool_output_file in several tools. This fixes a variety | Dan Gohman | 2010-08-20 | 1 | -64/+76 | |
| | | | | | | | | of problems with output files being left behind or output streams being left unclosed. Fix llvm-mc to respect the -o option in all modes, rather than hardcoding outs() in some cases. llvm-svn: 111603 | |||||
* | llvm-mc: Add -show-inst-operands, for dumping the parsed instruction ↵ | Daniel Dunbar | 2010-08-11 | 1 | -0/+5 | |
| | | | | | | representation before matching. llvm-svn: 110791 | |||||
* | Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ↵ | Benjamin Kramer | 2010-07-29 | 1 | -7/+6 | |
| | | | | | | ownership of the TargetAsmBackend and the MCCodeEmitter. llvm-svn: 109767 | |||||
* | Target: Give the TargetAsmParser access to the TargetMachine. | Daniel Dunbar | 2010-07-19 | 1 | -1/+1 | |
| | | | | | | - Unfortunate, but necessary for now to handle subtarget instruction matching. Eventually we should factor out the lower level target machine information so we don't need to do this. llvm-svn: 108664 | |||||
* | MC: Move several clients to using AsmParser constructor function. | Daniel Dunbar | 2010-07-18 | 1 | -5/+6 | |
| | | | | llvm-svn: 108645 | |||||
* | llvm-mc: Fix llvm-mc -as-lex. | Daniel Dunbar | 2010-07-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 108644 | |||||
* | MC: Pass the target instance to the AsmParser constructor. | Daniel Dunbar | 2010-07-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 107426 | |||||
* | Avoid calling outs() and fouts() when the stream isn't really needed. | Dan Gohman | 2010-05-27 | 1 | -2/+1 | |
| | | | | llvm-svn: 104873 | |||||
* | 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 | |||||
* | Second try at integrating the edis tester. This | Sean Callanan | 2010-04-12 | 1 | -4/+12 | |
| | | | | | | | | | | | 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 | 1 | -12/+4 | |
| | | | | llvm-svn: 100848 | |||||
* | Added a tester for the enhanced disassembler, | Sean Callanan | 2010-04-09 | 1 | -4/+12 | |
| | | | | | | 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 | 1 | -1/+1 | |
| | | | | | | | | 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 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 | |||||
* | pass "-fasm-verbose" into createAsmStreamer. | Chris Lattner | 2010-01-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 94165 | |||||
* | move some files out of the llvm-mc tool into the MCParser library so | Chris Lattner | 2010-01-22 | 1 | -1/+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 | 1 | -1/+1 | |
| | | | | llvm-svn: 94129 | |||||
* | Moved handling of inclusion from the AsmLexer to | Sean Callanan | 2010-01-21 | 1 | -1/+1 | |
| | | | | | | | the AsmParser, breaking AsmLexer's dependence on SourceMgr. llvm-svn: 94054 | |||||
* | Changed the AsmParser to handle error messages itself | Sean Callanan | 2010-01-20 | 1 | -1/+1 | |
| | | | | | | | | 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 | |||||
* | give createAsmStreamer an 'isLittleEndian' argument. | Chris Lattner | 2010-01-20 | 1 | -1/+4 | |
| | | | | llvm-svn: 93986 | |||||
* | rename HexDisassembler -> Disassembler, it works on any input | Chris Lattner | 2009-12-22 | 1 | -2/+2 | |
| | | | | | | integer encoding (0123, 0b10101, 42, etc). llvm-svn: 91934 | |||||
* | Test harness for the LLVM disassembler. When invoked | Sean Callanan | 2009-12-17 | 1 | -2/+35 | |
| | | | | | | | | | | with -disassemble, llvm-mc now accepts lines of the form 0x00 0x00 and passes the resulting bytes to the disassembler for the chosen (or default) target, printing the result. llvm-svn: 91579 | |||||
* | Line this up as well. | Nick Lewycky | 2009-11-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 85748 |