diff options
author | Michael Liao <michael.liao@intel.com> | 2012-10-17 02:22:27 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2012-10-17 02:22:27 +0000 |
commit | 6f7206132fa567268b561608268639db5edafdcb (patch) | |
tree | d0e7a2cbf9f2f801c15e53156f079bcece3ac2ca /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a2136be107b590f13da31b406bfd3454ea759ecd (diff) | |
download | bcm5719-llvm-6f7206132fa567268b561608268639db5edafdcb.tar.gz bcm5719-llvm-6f7206132fa567268b561608268639db5edafdcb.zip |
Fix setjmp on models with non-Small code model nor non-Static relocation model
- MBB address is only valid as an immediate value in Small & Static
code/relocation models. On other models, LEA is needed to load IP address of
the restore MBB.
- A minor fix of MBB in MC lowering is added as well to enable target
relocation flag being propagated into MC.
llvm-svn: 166084
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions