summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2021-04-28 13:15:39 -0700
committerNick Lewycky <nicholas@mxc.ca>2021-04-28 13:17:43 -0700
commit191570989ba291c639034906eeb6a0bae9ed47e9 (patch)
tree76743dd05a77562f148c14d41bf8ca69bb0514fd /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent0cc3e10f5e291d85d5c5047ee783340a8694a249 (diff)
downloadllvm-cleaner-attribute-errors.tar.gz
Improve error messages for attributes in the wrong context.cleaner-attribute-errors
verifyFunctionAttrs has a comment that the value V is printed in error messages. The recently added errors for attributes didn't print V. Make them print V. Change the stringification of AttributeList. Firstly they started with 'PAL[' which stood for ParamAttrsList. Change that to 'AttributeList[' matching its current name AttributeList. Print out semantic meaning of the index instead of the raw index value (i.e. 'return', 'function' or 'arg(n)').
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions