summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCNullStreamer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Reduce clutter in asm output. Do not emit source location as comment for ↵Devang Patel2011-04-181-1/+2
| | | | | | each instruction. llvm-svn: 129715
* Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.Cameron Zwarich2011-02-251-1/+0
| | | | llvm-svn: 126488
* Enable DebugInfo support for COFF object files.Devang Patel2011-02-241-0/+1
| | | | | | Patch by Nathan Jeffords! llvm-svn: 126425
* Add support for pushsection and popsection. Patch by Joerg Sonnenberger.Rafael Espindola2011-02-161-5/+3
| | | | llvm-svn: 125629
* Fixed version of 121434 with no new memory leaks.Rafael Espindola2010-12-101-2/+2
| | | | llvm-svn: 121471
* Revert my previous patch to make the valgrind bots happy.Rafael Espindola2010-12-101-2/+2
| | | | llvm-svn: 121461
* Initial support for the cfi directives. This is just enough to getRafael Espindola2010-12-091-2/+2
| | | | | | | | | | | f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434
* There are two reasons why we might want to useRafael Espindola2010-12-041-1/+1
| | | | | | | | | | | | | | | | foo = a - b .long foo instead of just .long a - b First, on darwin9 64 bits the assembler produces the wrong result. Second, if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not consider a - b to be a constant but will if the dummy foo is created. Split how we handle these cases. The first one is something MC should take care of. The second one has to be handled by the caller. llvm-svn: 120889
* Try to resolve symbol differences early, and if successful create a plainRafael Espindola2010-12-031-0/+3
| | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767
* Use set directive for StartMinusEndExpr.Devang Patel2010-12-021-1/+1
| | | | | | This is a fix for llvm-gcc-i386-darwin9 buildbot failure. llvm-svn: 120742
* Add .loc methods to the streamer.Rafael Espindola2010-11-161-1/+6
| | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384
* MC'ize the '.code 16' and '.thumb_func' ARM directives.Jim Grosbach2010-11-051-0/+1
| | | | llvm-svn: 118301
* Add support for expressions in .sleb/.uleb directives.Rafael Espindola2010-11-021-0/+4
| | | | llvm-svn: 118023
* Implement .weakref.Rafael Espindola2010-11-011-0/+1
| | | | llvm-svn: 117911
* Add a InitSections method to the streamer interface.Rafael Espindola2010-09-151-0/+3
| | | | | | | | | | | | | | The ELF implementation now creates text, data and bss to match the gnu as behavior. The text streamer still has the old MachO specific behavior since the testsuite checks that it will error when a directive is given before a setting the current section for example. A nice benefit is that -n is not required anymore when producing ELF files. llvm-svn: 114027
* Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky.Benjamin Kramer2010-09-021-0/+1
| | | | llvm-svn: 112849
* Make EmitTBSSSymbol take a section argument so that we can find it later.Eric Christopher2010-05-181-2/+2
| | | | | | Fix up callers and users. llvm-svn: 104057
* Add AsmParser support for darwin tbss directive.Eric Christopher2010-05-141-1/+2
| | | | | | Nothing uses this yet. llvm-svn: 103757
* break coff symbol definition stuff out into proper MCStreamer callbacks,Chris Lattner2010-05-081-0/+6
| | | | | | patch by Nathan Jeffords! llvm-svn: 103346
* make the NullStreamer set the section on a label when emitted so that ↵Chris Lattner2010-03-091-1/+5
| | | | | | isDefined() works. llvm-svn: 98100
* This is the first patch to put the needed bits in place to eventually allow codeKevin Enderby2010-02-231-0/+3
| | | | | | | | | | | to be aligned with optimal nops. This patch does not change any functionality and when the compiler is changed to use EmitCodeAlignment() it should also not change the resulting output. Once the compiler change is made and everything looks good the next patch with the table of optimal X86 nops will be added to WriteNopData() changing the output. There are many FIXMEs in this patch which will be removed when we have better target hooks (coming soon I hear). llvm-svn: 96963
* mcstreamerize gprel32 emission.Chris Lattner2010-01-251-1/+1
| | | | llvm-svn: 94452
* mcstreamerize .file and .file. This also fixes an issue where theChris Lattner2010-01-251-0/+2
| | | | | | | normal form of .file would fail if the filename had a weird character in it. llvm-svn: 94437
* emit the .size directive for global variables on ELF throughChris Lattner2010-01-251-1/+1
| | | | | | mcstreamer. llvm-svn: 94416
* mcize lcomm, simplify .comm, extend both to support 64-bit sizes.Chris Lattner2010-01-231-1/+2
| | | | llvm-svn: 94299
* move the various directive enums out of the MCStreamer classChris Lattner2010-01-231-2/+2
| | | | | | into a new MCDirectives.h file. llvm-svn: 94294
* Generalize mcasmstreamer data emission APIs to take an address spaceChris Lattner2010-01-191-2/+3
| | | | | | identifier. There is no way to work around it. llvm-svn: 93896
* Pass StringRef by value.Daniel Dunbar2009-11-061-1/+1
| | | | llvm-svn: 86251
* llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues.Daniel Dunbar2009-08-311-4/+3
| | | | llvm-svn: 80578
* llvm-mc: Simplify EmitAssignment ('.set' is identical to '=').Daniel Dunbar2009-08-311-2/+1
| | | | llvm-svn: 80577
* llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported ↵Daniel Dunbar2009-08-301-4/+2
| | | | | | | | for now. - Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency). llvm-svn: 80484
* llvm-mc: Emit .lcomm as .zerofill.Daniel Dunbar2009-08-281-1/+1
| | | | llvm-svn: 80343
* llvm-mc: Add const to EmitZeroFill section argument.Daniel Dunbar2009-08-281-1/+1
| | | | llvm-svn: 80341
* null streamer needs to maintain the current section as well.Chris Lattner2009-08-181-1/+3
| | | | llvm-svn: 79343
* change AsmPrinter to switch sections using AsmStreamer instead ofChris Lattner2009-08-171-1/+1
| | | | | | | | | 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-mc: Add dummy MCStreamer implementation, (eventually) for use in profiling.Daniel Dunbar2009-08-131-0/+72
- Currently unused. - A few other random comment fixes lumped in. llvm-svn: 78960
OpenPOWER on IntegriCloud