aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2021-07-20 13:36:33 +0200
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2021-07-20 13:39:22 +0200
commite04c05e8230e383493774cb3636587d3c0b5f288 (patch)
treedbd6c569d8ef30eaeb7a8d9785664ff49133c619 /llvm/lib/Object/SymbolicFile.cpp
parent669275f8a0fc85d9b352d91bbf4f4ee1886f96b1 (diff)
downloadllvm-e04c05e8230e383493774cb3636587d3c0b5f288.zip
llvm-e04c05e8230e383493774cb3636587d3c0b5f288.tar.gz
llvm-e04c05e8230e383493774cb3636587d3c0b5f288.tar.bz2
[SystemZ] Fix invalid assumption in getCPUNameFromS390Model
Code in getCPUNameFromS390Model currently assumes that the numerical value of the model number always increases with future hardware. While this has happened to be the case with the last few machines, it is not guaranteed -- that assumption was violated with (much) older machines, and it can be violated again with future machines. Fix by explicitly listing model numbers for all supported machine models.
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions