| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
and call PrintGlobalVariable, allowing elimination and simplification
of various targets.
llvm-svn: 76604
|
| |
|
|
|
|
| |
LLVM IR concept.
llvm-svn: 76590
|
| |
|
|
|
|
|
|
| |
"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
|
| |
|
|
|
|
| |
doesn't cause ".no_dead_strip" to be emitted on darwin.
llvm-svn: 76399
|
| |
|
|
| |
llvm-svn: 76246
|
| |
|
|
| |
llvm-svn: 76237
|
| |
|
|
|
|
|
| |
emit the EHFrame label next to the section_eh_frame and
eh_frame_common labels.
llvm-svn: 76234
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 76228
|
| |
|
|
| |
llvm-svn: 76117
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 75742
|
| |
|
|
|
|
| |
dynamic_cast<>.
llvm-svn: 75670
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--- 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
|
| |
|
|
|
|
| |
dubious looking things that I need to investigate in more detail.
llvm-svn: 75619
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 75574
|
| |
|
|
| |
llvm-svn: 75540
|
| |
|
|
| |
llvm-svn: 75515
|
| |
|
|
| |
llvm-svn: 75507
|
| |
|
|
| |
llvm-svn: 75503
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
and abort()/exit() -> llvm_report_error().
llvm-svn: 75363
|
| |
|
|
| |
llvm-svn: 74953
|
| |
|
|
| |
llvm-svn: 74949
|
| |
|
|
|
|
|
| |
- This more or less amounts to a revert of r65379. I'm curious to know what
happened that caused this variable to become unused.
llvm-svn: 74579
|
| |
|
|
| |
llvm-svn: 74477
|
| |
|
|
| |
llvm-svn: 74452
|
| |
|
|
|
|
| |
Update dwarf writer to only emit one DW_TAG_compile_unit per .o file.
llvm-svn: 74449
|
| |
|
|
|
|
| |
and llvm.dbg.global_variables.
llvm-svn: 74251
|
| |
|
|
| |
llvm-svn: 74215
|
| |
|
|
| |
llvm-svn: 74179
|
| |
|
|
| |
llvm-svn: 74137
|
| |
|
|
| |
llvm-svn: 74134
|
| |
|
|
| |
llvm-svn: 74132
|
| |
|
|
|
|
| |
class.
llvm-svn: 74101
|
| |
|
|
| |
llvm-svn: 74097
|
| |
|
|
|
|
|
| |
a bunch of code from all the targets, and eliminates nondeterministic
ordering of directives being emitted in the output.
llvm-svn: 74096
|
| |
|
|
| |
llvm-svn: 74065
|
| |
|
|
| |
llvm-svn: 73784
|
| |
|
|
| |
llvm-svn: 73738
|
| |
|
|
| |
llvm-svn: 73736
|
| |
|
|
|
|
| |
the linker knows it's a new atom. But this is only needed if the jump table is put in a separate section from the function body.
llvm-svn: 73720
|
| |
|
|
| |
llvm-svn: 73464
|
| |
|
|
| |
llvm-svn: 73457
|
| |
|
|
| |
llvm-svn: 73426
|
| |
|
|
| |
llvm-svn: 73362
|