diff options
| author | Arthur Eubanks <aeubanks@google.com> | 2023-12-14 09:28:27 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-14 09:28:27 -0800 |
| commit | 5e38ba26d2189267a95b4dde4d7b4ae85260eaf3 (patch) | |
| tree | 0bf49417fef1ad00350cc8539cc0ce5ca1e8195e /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | |
| parent | fedc54bf35b378ab3418ba0f36c1df476aef5aca (diff) | |
[X86] Respect code models more when determining if a global reference can fit in 32 bits (#75386)
For non-GlobalValue references, the small and medium code models can use
32 bit constants.
For GlobalValue references, use TargetMachine::isLargeGlobalObject().
Look through aliases for determining if a GlobalValue is small or large.
Even the large code model can reference small objects with 32 bit
constants as long as we're in no-pic mode, or if the reference is offset
from the GOT.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions
