diff options
author | Michael Liao <michael.liao@intel.com> | 2012-08-30 00:30:16 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2012-08-30 00:30:16 +0000 |
commit | 3c8980646bfdccceb9ea3cd1fe6b3570c876bd96 (patch) | |
tree | 15d3ef54481d64cad94133702e900c9b908d8a80 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2aa89dd03e5a953dc478e54a3e44d76f66f4bc40 (diff) | |
download | llvm-3c8980646bfdccceb9ea3cd1fe6b3570c876bd96.zip llvm-3c8980646bfdccceb9ea3cd1fe6b3570c876bd96.tar.gz llvm-3c8980646bfdccceb9ea3cd1fe6b3570c876bd96.tar.bz2 |
Fix PR13727
- The root cause is that target constant materialization in X86 fast-isel
creates a PC-rel addressing which may overflow 32-bit range in non-Small code
model if .rodata section is allocated too far away from code segment in
MCJIT, which uses Large code model so far.
- Follow the similar logic to fix non-Small code model in fast-isel by skipping
non-Small code model.
llvm-svn: 162881
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions