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 | faa1159a6915992d7f035ce06caf952fd4a4e96a (patch) | |
tree | ef8416b3e495d0bef6e13c2798705ef22c25d40d /include/llvm/ADT/StringExtras.h | |
parent | b4e090dffc4bed40cee22b94560aa8dd3b4af013 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringExtras.h')
0 files changed, 0 insertions, 0 deletions