summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-10-27 07:59:01 +0000
committerMartin Storsjo <martin@martin.st>2017-10-27 07:59:01 +0000
commit62dd9d20d5dc37bf5dfda14f40fd6c7013a24096 (patch)
tree8a2c4660146e43f34139386ea7dc353d5aa12625 /llvm/lib/Transforms
parente010406e28074f954336106ac624181b24923a41 (diff)
downloadbcm5719-llvm-62dd9d20d5dc37bf5dfda14f40fd6c7013a24096.tar.gz
bcm5719-llvm-62dd9d20d5dc37bf5dfda14f40fd6c7013a24096.zip
Express Registers_*::lastDwarfReg using _LIBUNWIND_HIGHEST_DWARF_REGISTER
This avoids having to keep the same information duplicated in multiple places. Adjust _LIBUNWIND_HIGHEST_DWARF_REGISTER to actually have the value of the highest used register and only use the value _LIBUNWIND_HIGHEST_DWARF_REGISTER + 1 (kMaxRegisterNumber + 1) for allocating the savedRegisters array. Differential Revision: https://reviews.llvm.org/D39281 llvm-svn: 316745
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud