diff options
author | Adrian Prantl <aprantl@apple.com> | 2020-01-16 14:21:03 -0800 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2020-01-16 16:47:36 -0800 |
commit | 7b0d58e339b271e3b1d9dc14b781b57fa0262e3a (patch) | |
tree | fd76e05f901f84173993d9098d05243f1363d27c /clang/lib/Serialization/ModuleManager.cpp | |
parent | 2671df9bd675d4a1a07457dce748f4fe939e95fb (diff) | |
download | llvm-7b0d58e339b271e3b1d9dc14b781b57fa0262e3a.zip llvm-7b0d58e339b271e3b1d9dc14b781b57fa0262e3a.tar.gz llvm-7b0d58e339b271e3b1d9dc14b781b57fa0262e3a.tar.bz2 |
Add testing for DW_OP_piece and fix a bug with small Scalar values.
By switching to Scalars that are backed by explicitly-sized APInts we
can avoid a bug that increases the buffer reserved for a small piece
to the next-largest host integer type.
This manifests as "DW_OP_piece for offset foo but top of stack is of size bar".
Differential Revision: https://reviews.llvm.org/D72879
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions