- Jul 27, 2009
-
-
Chris Lattner authored
MCSections soon instead of Section for all targets, and we need something to own them. llvm-svn: 77252
-
Chris Lattner authored
instead and drive things based off of that. llvm-svn: 77184
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77152
-
Chris Lattner authored
just use a smallstring instead. llvm-svn: 77144
-
Chris Lattner authored
to its classification. llvm-svn: 77140
-
Chris Lattner authored
llvm-svn: 77138
-
Chris Lattner authored
llvm-svn: 77137
-
Chris Lattner authored
llvm-svn: 77134
-
Daniel Dunbar authored
Also, change MDString to use a StringRef. llvm-svn: 77098
-
- Jul 24, 2009
-
-
Chris Lattner authored
llvm-svn: 76970
-
Chris Lattner authored
eliminating isNamed. llvm-svn: 76946
-
- Jul 22, 2009
-
-
David Greene authored
Put comment printing under asm-verbose. llvm-svn: 76780
-
Chris Lattner authored
a new getSectionForMergableConstant hook. This removes one dependence of TAI on Type, and provides the hook with enough info to make the right decision based on whether the global has relocations etc. llvm-svn: 76705
-
- Jul 21, 2009
-
-
Chris Lattner authored
and call PrintGlobalVariable, allowing elimination and simplification of various targets. llvm-svn: 76604
-
Chris Lattner authored
LLVM IR concept. llvm-svn: 76590
-
- Jul 20, 2009
-
-
Bill Wendling authored
"LinkerPrivatePrefix". It seems to have been used in only one place before I started this "linker_private" business. I'm thinking that a rename is in order... llvm-svn: 76479
-
Chris Lattner authored
doesn't cause ".no_dead_strip" to be emitted on darwin. llvm-svn: 76399
-
- Jul 18, 2009
-
-
Chris Lattner authored
llvm-svn: 76246
-
- Jul 17, 2009
-
-
Chris Lattner authored
llvm-svn: 76237
-
Chris Lattner authored
emit the EHFrame label next to the section_eh_frame and eh_frame_common labels. llvm-svn: 76234
-
Chris Lattner authored
starting in getCurrentFunctionEHName. Among other problems, we would try to privative a "foo.eh" label, but end up emitting the label as _Lfoo.eh instead of L_foo.eh on darwin. This is really bad, and the linker has always tolerated these labels existing. For now, just emit them as _foo.eh. This patch also fixes problems with ".eh" labels on unnamed functions and eliminates two strangely defined TargetAsmInfo hooks. llvm-svn: 76231
-
Chris Lattner authored
llvm-svn: 76228
-
David Greene authored
Emit line numbers in asm comments when available. llvm-svn: 76117
-
- Jul 16, 2009
-
-
Devang Patel authored
This prefix is used by LLVM to inform the asm printer to not emit usual global symbol prefix before the symbol name. llvm-svn: 75875
-
- Jul 15, 2009
-
-
Chris Lattner authored
llvm-svn: 75742
-
- Jul 14, 2009
-
-
David Greene authored
Have asm printers use formatted_raw_ostream directly to avoid a dynamic_cast<>. llvm-svn: 75670
-
Chris Lattner authored
additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
-
Torok Edwin authored
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
-
Daniel Dunbar authored
--- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp llvm-svn: 75638
-
Chris Lattner authored
dubious looking things that I need to investigate in more detail. llvm-svn: 75619
-
Chris Lattner authored
indicates whether the label is private or not, instead of taking prefix stuff. One effect of this is that symbols will be generated with *just* the private prefix, instead of both the private prefix *and* the user-label-prefix, but this doesn't matter as long as it is consistent. For example we'll now get "Lfoo" instead of "L_foo". These are just assembler temporary labels anyway, so they never even make it into the .o file. llvm-svn: 75607
-
Devang Patel authored
llvm-svn: 75574
-
Devang Patel authored
llvm-svn: 75540
-
- Jul 13, 2009
-
-
Devang Patel authored
llvm-svn: 75515
-
Devang Patel authored
llvm-svn: 75507
-
Devang Patel authored
llvm-svn: 75503
-
David Greene authored
Add infrastructure to allow post instruction printing action triggers. We'll eventually use this to print comments in asm files and do other fun things. This adds interfaces to the AsmPrinter and changes TableGen to invoke the postInstructionAction when appropriate. It also add parameters to TargetAsmInfo to control comment layout. llvm-svn: 75490
-
- Jul 11, 2009
-
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
Torok Edwin authored
and abort()/exit() -> llvm_report_error(). llvm-svn: 75363
-
- Jul 07, 2009
-
-
Devang Patel authored
llvm-svn: 74953
-