summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCLoggingStreamer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for a new extension to the .file directive:Nick Lewycky2011-10-171-3/+5
| | | | | | | | | | .file filenumber "directory" "filename" This removes one join+split of the directory+filename in MC internals. Because bitcode files have independent fields for directory and filenames in debug info, this patch may change the .o files written by existing .bc files. llvm-svn: 142300
* Don't drop alignment info on local common symbols.Benjamin Kramer2011-09-011-2/+3
| | | | | | | | | | | - On COFF the .lcomm directive has an alignment argument. - On ELF we fall back to .local + .comm Based on a patch by NAKAMURA Takumi. Fixes PR9337, PR9483 and PR10128. llvm-svn: 138976
* Unfortunately several files in MC are badly violating layering rule by usingEvan Cheng2011-07-141-2/+4
| | | | | | | | | TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( llvm-svn: 135131
* Simplify the handling of pcrel relocations on ELF. Now we do the right thingRafael Espindola2011-05-011-2/+2
| | | | | | | | | | for all symbol differences and can drop the old EmitPCRelSymbolValue method. This also make getExprForFDESymbol on ELF equal to the one on MachO, and it can be made non-virtual. llvm-svn: 130634
* Remove unused argument.Rafael Espindola2011-04-211-6/+4
| | | | llvm-svn: 129955
* Reduce clutter in asm output. Do not emit source location as comment for ↵Devang Patel2011-04-181-2/+3
| | | | | | each instruction. llvm-svn: 129715
* Roll out r126425 and r126450 to see if it fixes the failures on the buildbots.Cameron Zwarich2011-02-251-5/+0
| | | | llvm-svn: 126488
* Enable DebugInfo support for COFF object files.Devang Patel2011-02-241-0/+5
| | | | | | Patch by Nathan Jeffords! llvm-svn: 126425
* Add support for pushsection and popsection. Patch by Joerg Sonnenberger.Rafael Espindola2011-02-161-4/+3
| | | | llvm-svn: 125629
* Fixed version of 121434 with no new memory leaks.Rafael Espindola2010-12-101-2/+3
| | | | llvm-svn: 121471
* Revert my previous patch to make the valgrind bots happy.Rafael Espindola2010-12-101-3/+2
| | | | llvm-svn: 121461
* Initial support for the cfi directives. This is just enough to getRafael Espindola2010-12-091-2/+3
| | | | | | | | | | | 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-2/+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/+7
| | | | | | | 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/+2
| | | | | | This is a fix for llvm-gcc-i386-darwin9 buildbot failure. llvm-svn: 120742
* Make EmitIntValue non virtual.Rafael Espindola2010-11-281-5/+0
| | | | llvm-svn: 120271
* Add .loc methods to the streamer.Rafael Espindola2010-11-161-1/+12
| | | | | | | 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/+5
| | | | llvm-svn: 118301
* Add support for expressions in .sleb/.uleb directives.Rafael Espindola2010-11-021-0/+12
| | | | llvm-svn: 118023
* Implement .weakref.Rafael Espindola2010-11-011-0/+5
| | | | llvm-svn: 117911
* MC: Add missing forward in MCLoggingStreamer.Michael J. Spencer2010-10-061-0/+1
| | | | llvm-svn: 115830
* Add a InitSections method to the streamer interface.Rafael Espindola2010-09-151-0/+4
| | | | | | | | | | | | | | 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
* MC: Add an MCLoggingStreamer, for use in debugging integrated-as mismatches.Daniel Dunbar2010-05-231-0/+208
llvm-svn: 104463
OpenPOWER on IntegriCloud