Chris Lattner
f4b92a8a00
add some comments on how this is *supposed* to work. We don't
...
need the PreferredEHDataFormat hook, but I have yet-more refactoring to
do before I can zap it.
llvm-svn: 77742
2009-07-31 22:18:14 +00:00
Chris Lattner
47fc2351c0
rearrange a conditional. Even if this weren't #if 0'd out, this would
...
have no functionality change.
llvm-svn: 77741
2009-07-31 22:03:47 +00:00
Chris Lattner
63779b8d57
PreferredEHDataFormat is always call with data and global, but this whole
...
thing is #if0'd out anyway. Just simplify the code by reducing the interface.
Not deleting this is essential for Bill's continuing happiness.
llvm-svn: 77736
2009-07-31 21:39:55 +00:00
Bill Wendling
4505734342
Forgot to output the base offset.
...
llvm-svn: 77505
2009-07-29 21:19:44 +00:00
Bill Wendling
2cf001479c
Move comment to above method.
...
llvm-svn: 77412
2009-07-29 00:50:05 +00:00
Bill Wendling
b67440efb8
- Temporarily unbreak the build by forcing the TType "absptr", which isn't
...
correct. But what are you going to do? I'll fix this in the future.
- Move another large loop into its own method.
llvm-svn: 77408
2009-07-29 00:31:35 +00:00
Bill Wendling
23b177e86e
Cleanup code to use iterators instead of ".size()".
...
Does any one else hate the name "const_reverse_iterator" as much as I do?
llvm-svn: 77399
2009-07-28 23:44:43 +00:00
Bill Wendling
6c574d883c
Doxygenify comments.
...
llvm-svn: 77394
2009-07-28 23:23:00 +00:00
Bill Wendling
1fddd873b4
Split out large loop into it's very own method. No intended functionality change.
...
llvm-svn: 77393
2009-07-28 23:22:13 +00:00
Bill Wendling
15349f81fb
Output the EH TType format and base offset only if there are types that we're
...
going to emit.
llvm-svn: 77382
2009-07-28 22:23:45 +00:00
Bill Wendling
5196c9c7c9
Use the preferred EH data format for the preferred EH data format.
...
llvm-svn: 77373
2009-07-28 21:54:03 +00:00
Chris Lattner
58f9bb2ccd
implement a new magic global "llvm.compiler.used" which is like llvm.used, but
...
doesn't cause ".no_dead_strip" to be emitted on darwin.
llvm-svn: 76399
2009-07-20 06:14:25 +00:00
Chris Lattner
1af5af8640
Use more terse and precise linkage checks.
...
llvm-svn: 76237
2009-07-17 21:00:50 +00:00
Chris Lattner
e03a866b34
these two pieces of code are the same because we always
...
emit the EHFrame label next to the section_eh_frame and
eh_frame_common labels.
llvm-svn: 76234
2009-07-17 20:53:51 +00:00
Chris Lattner
e79b2bc088
Untangle a snarl that I discovered when updating the mangler,
...
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
2009-07-17 20:46:40 +00:00
Bill Wendling
dd20b98c35
Move c'tor/d'tor to top of file.
...
llvm-svn: 71828
2009-05-15 01:18:50 +00:00
Bill Wendling
d64cd2bb6e
Split out the DwarfException class into its own file. No functionality change,
...
though the classes have been marked with "VISIBILITY_HIDDEN".
llvm-svn: 71827
2009-05-15 01:12:28 +00:00