diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-07-20 20:21:08 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-07-20 21:16:23 +0200 |
commit | a465f07cf99b3cc210f4c2a7691dd5027857f117 (patch) | |
tree | cb68c8da1a3ded8cc76cab4c58fb2307ca89278e /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2a7711f33a048d15bed6efe84873a7f73f5c3508 (diff) | |
download | llvm-a465f07cf99b3cc210f4c2a7691dd5027857f117.zip llvm-a465f07cf99b3cc210f4c2a7691dd5027857f117.tar.gz llvm-a465f07cf99b3cc210f4c2a7691dd5027857f117.tar.bz2 |
[AttrBuilder] Assert correct attribute kind
Make sure that addAttribute() is only used with simple enum
attributes. Integer and type attributes need to provide an
additional value/type.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions