diff options
author | Momchil Velikov <momchil.velikov@arm.com> | 2020-04-27 15:18:06 +0100 |
---|---|---|
committer | Momchil Velikov <momchil.velikov@arm.com> | 2020-04-27 16:01:07 +0100 |
commit | 334ac81054018c3ae6058a0bf12e9c9363bd50ad (patch) | |
tree | 02e40f073c54ff54965b993adc350ddc38769571 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 096b25a8d8ed8a5162dfead59ed9cd9c2b4825aa (diff) | |
download | llvm-334ac81054018c3ae6058a0bf12e9c9363bd50ad.zip llvm-334ac81054018c3ae6058a0bf12e9c9363bd50ad.tar.gz llvm-334ac81054018c3ae6058a0bf12e9c9363bd50ad.tar.bz2 |
Fix the check for regparm in FunctionType::ExtInfo
`getHasRegParm()` was working under the assumption that the RegParm
bits are the last field, which is no longer true, after adding the
`NoCfCheck` and `CmseNSCall` fields.
This causes a spurious "regparm 0" attribute to appear when a function
type is declared with either `__attribute__((nocf_check))` or
`__attribute__((cmse_nonsecure_call))`.
Differential Revision: https://reviews.llvm.org/D77270
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions