| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 94449
|
|
|
|
|
|
|
| |
and MCize the non-pic case. Now printPICJumpTableEntry really
is just about printing PIC entries.
llvm-svn: 94446
|
|
|
|
| |
llvm-svn: 94445
|
|
|
|
|
|
|
| |
normal form of .file would fail if the filename had a weird character
in it.
llvm-svn: 94437
|
|
|
|
| |
llvm-svn: 94436
|
|
|
|
|
|
| |
into a new MCDirectives.h file.
llvm-svn: 94294
|
|
|
|
| |
llvm-svn: 94285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doing global variable classification anymore) and hookized, sink almost
all target targets global variable emission code into AsmPrinter and out
of each target.
Some notes:
1. PIC16 does completely custom and crazy stuff, so it is not changed.
2. XCore has some custom handling for extra directives. I'll look at it next.
3. This switches linux/ppc to use .globl instead of .global. If .globl is
actually wrong, let me know and I'll fix it.
4. This makes linux/ppc get a lot of random cases right which were obviously
wrong before, it is probably now a bit healthier.
5. Blackfin will probably start getting .comm and other things that it didn't
before. If this is undesirable, it should explicitly opt out of these
things by clearing the relevant fields of MCAsmInfo.
This leads to a nice diffstat:
14 files changed, 127 insertions(+), 830 deletions(-)
llvm-svn: 93858
|
|
|
|
| |
llvm-svn: 93855
|
|
|
|
|
|
|
|
| |
I'm not sure that this is correct, but it causes no test failures,
and just emitting a .comm without protecting its linkage somehow
is surely not right.
llvm-svn: 93854
|
|
|
|
| |
llvm-svn: 93853
|
|
|
|
|
|
| |
"isdarwin".
llvm-svn: 93852
|
|
|
|
|
|
|
|
|
|
| |
This makes a similar code dead in all the other targets, I'll clean it up
in a bit.
This also moves handling of lcomm up before acquisition of a section,
since lcomm never needs a section.
llvm-svn: 93851
|
|
|
|
|
|
| |
darwin into common code.
llvm-svn: 93849
|
|
|
|
|
|
| |
duplicating the logic (differently) in lots of different targets.
llvm-svn: 93847
|
|
|
|
| |
llvm-svn: 93845
|
|
|
|
|
|
|
|
| |
GCC would put weak zero initialized mutable data in the .bss section,
we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits'
section. Fixing this will allow simplifications next up.
llvm-svn: 93844
|
|
|
|
|
|
|
|
|
| |
simplify and commonize some of the asmprinter logic for globals.
This also avoids printing the MCSection for .zerofill, which broke
the llvm-gcc build.
llvm-svn: 93843
|
|
|
|
| |
llvm-svn: 93839
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. TargetLoweringObjectFileMachO should decide if something
goes in zerofill instead of having every target do it.
2. TargetLoweringObjectFileMachO should assign said symbols to
the right MCSection, the asmprinters should just emit to the
right section.
3. Since all zerofill stuff goes through mcstreamer anymore,
MAI can have a bool "haszerofill" instead of having the textual
directive to emit.
llvm-svn: 93838
|
|
|
|
| |
llvm-svn: 93702
|
|
|
|
|
|
|
| |
as it emits code. Switch .globl directives to use OutStreamer instead of
doing it textually (in x86)
llvm-svn: 93700
|
|
|
|
| |
llvm-svn: 93698
|
|
|
|
|
|
|
| |
remove it and change all the code that prints MCSymbols to use
<< instead, which is much simpler and cleaner.
llvm-svn: 93695
|
|
|
|
|
|
|
|
| |
and add an explicit ForcePrivate argument.
Switch FunctionEHFrameInfo to be MCSymbol based instead of string based.
llvm-svn: 93646
|
|
|
|
| |
llvm-svn: 93615
|
|
|
|
| |
llvm-svn: 93605
|
|
|
|
|
|
|
|
|
| |
Note that the code wasn't calling DecorateCygMingName
when emitting the ".ascii -export" stuff at the end of
file for DLLExported functions. I don't know if it should
or not, but I'm preserving behavior.
llvm-svn: 93603
|
|
|
|
| |
llvm-svn: 93598
|
|
|
|
| |
llvm-svn: 93595
|
|
|
|
|
|
| |
and CurrentFnName.
llvm-svn: 93594
|
|
|
|
| |
llvm-svn: 93305
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of returning it in an std::string. Based on this change:
1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef
2. Change a bunch of targets to call makeNameProper with a smallstring,
making several of them *much* more efficient.
3. Rewrite Mangler::makeNameProper to not build names and then prepend
prefixes, not use temporary std::strings, and to avoid other crimes.
llvm-svn: 93298
|
|
|
|
|
|
|
|
| |
target-specific AsmPrinters. Not all comments need DebugInfo.
Re-enable the line numbers comment test.
llvm-svn: 88697
|
|
|
|
| |
llvm-svn: 84561
|
|
|
|
| |
llvm-svn: 84510
|
|
|
|
| |
llvm-svn: 84509
|
|
|
|
|
|
|
|
| |
1. Emit external function type information for all COFF targets since it's
a feature of object format
2. Emit linker directives only for cygming (since this is ld-specific stuff)
llvm-svn: 84214
|
|
|
|
|
|
|
|
|
|
| |
verbose-asm mode, print comments instead. This eliminates a non-comment
difference between verbose-asm mode and non-verbose-asm mode.
Also, factor out the relevant code out of all the targets and into
target-independent code.
llvm-svn: 83392
|
|
|
|
|
|
| |
and after printing an instruction.
llvm-svn: 83363
|
|
|
|
|
|
| |
This will allow processDebugLoc() to handle scopes for DWARF debug info.
llvm-svn: 83183
|
|
|
|
| |
llvm-svn: 82394
|
|
|
|
| |
llvm-svn: 82393
|
|
|
|
| |
llvm-svn: 82392
|
|
|
|
| |
llvm-svn: 82391
|
|
|
|
|
|
| |
the instruction syntax, not the entire asmprinter.
llvm-svn: 82387
|
|
|
|
|
|
| |
transcode from AT&T to intel syntax with "llvm-mc foo.s -output-asm-variant=1"
llvm-svn: 82385
|
|
|
|
|
|
|
|
|
|
|
| |
full AsmPrinter, and change TargetRegistry to keep track
of registered MCInstPrinters.
llvm-mc is still linking in the entire
target foo to get the code emitter stuff, but this is an
important step in the right direction.
llvm-svn: 81754
|
|
|
|
| |
llvm-svn: 79763
|
|
|
|
|
|
| |
AsmPrinter instance (instead of just a FunctionPass)
llvm-svn: 78962
|