llvm/lib
Bill Wendling 47639fc5be The JIT calls TidyLandingPads to tidy up the landing pads. However, because the
JIT doesn't use the MC back-end asm printer to emit labels that it uses, the
section for the MCSymbol is never set. And thus the MCSymbol for the EH label
isn't marked as "defined". Because of that, TidyLandingPads removes the needed
landing pads from the JIT output. This breaks EH for every JIT program.

This is a work-around for this limitation. We pass in the label locations
map. If the label has a non-zero value, then it was "emitted" by the JIT and
TidyLandingPads shouldn't remove that label.

A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely
upon the section being set to determine if it's defined or not.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101453 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-16 08:46:10 +00:00
..
Analysis back out r101423 and r101397, they break llvm-gcc self-host on darwin10 2010-04-16 01:16:20 +00:00
Archive
AsmParser turn an assert into a proper check, fixing crash on invalid here: 2010-04-10 18:01:25 +00:00
Bitcode back out r101423 and r101397, they break llvm-gcc self-host on darwin10 2010-04-16 01:16:20 +00:00
CodeGen The JIT calls TidyLandingPads to tidy up the landing pads. However, because the 2010-04-16 08:46:10 +00:00
CompilerDriver
ExecutionEngine The JIT calls TidyLandingPads to tidy up the landing pads. However, because the 2010-04-16 08:46:10 +00:00
Linker
MC implement mc asmparser support for '.', which gets the 2010-04-14 04:40:28 +00:00
Support Fix a bunch of namespace polution. 2010-04-15 17:08:50 +00:00
System Fix a bunch of namespace polution. 2010-04-15 17:08:50 +00:00
Target Adding support for dag combiner to promote operations for profit. This requires target specific queries. For example, x86 should promote i16 to i32 when it does not impact load folding. 2010-04-16 06:14:10 +00:00
Transforms fix comment noticed by Bob 2010-04-16 02:32:17 +00:00
VMCore Silence an unused variable warning. 2010-04-16 04:02:04 +00:00
Makefile