diff options
| author | Michał Górny <mgorny@gentoo.org> | 2020-02-03 20:32:01 +0100 | 
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2020-02-04 05:50:56 +0100 | 
| commit | 98594a44aaa8410492d25793e1f01fb6b8bef45c (patch) | |
| tree | 28e31115bb51059e4ebd7a63594073971bd2c4dd /clang/lib/Frontend/ASTMerge.cpp | |
| parent | 4c05019dc0cdf1b88bb229677f45c9a13074b84f (diff) | |
| download | llvm-98594a44aaa8410492d25793e1f01fb6b8bef45c.zip llvm-98594a44aaa8410492d25793e1f01fb6b8bef45c.tar.gz llvm-98594a44aaa8410492d25793e1f01fb6b8bef45c.tar.bz2 | |
[lldb] [ObjectFile/ELF] Fix negated seg ids on 32-bit arches
Scale segment identifier up to user_id_t before negating it.  This fixes
the identifers being wrongly e.g. 0x00000000fffffffe instead of
0xfffffffffffffffe.  Fix suggested by Pavel Labath.
This fixes 5 tests failing on i386 (PR #44748):
  lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-PT_INTERP.yaml
  lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-PT_TLS.yaml
  lldb-shell :: ObjectFile/ELF/PT_LOAD-overlap-section.yaml
  lldb-shell :: ObjectFile/ELF/PT_LOAD.yaml
  lldb-shell :: ObjectFile/ELF/PT_TLS-overlap-PT_LOAD.yaml
Differential Revision: https://reviews.llvm.org/D73914
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions
