aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-02-20 21:17:03 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-03-12 16:30:50 +0000
commitfa8080376e739e2148aa53715dc93e5406f53fd2 (patch)
tree04a15fdfac75362ed5594f97ca2d15af2239ab77 /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
parent7420f96924a3889af628c851ff1940aae614f3f3 (diff)
downloadllvm-fa8080376e739e2148aa53715dc93e5406f53fd2.zip
llvm-fa8080376e739e2148aa53715dc93e5406f53fd2.tar.gz
llvm-fa8080376e739e2148aa53715dc93e5406f53fd2.tar.bz2
[AST][SVE] Add new Type queries for sizeless types
One of the defining features of the SVE ACLE types is that they are "sizeless"; see the SVE ACLE spec: https://developer.arm.com/docs/100987/0000/arm-c-language-extensions-for-sve or the email message: http://lists.llvm.org/pipermail/cfe-dev/2019-June/062523.html for a fuller definition of what that means. This patch adds two associated type queries: - isSizelessBuiltinType asks specifically about types that are built into clang. It is effectively an enum range check. - isSizelessType instead tests for any type that has the "sizeless" type property. At the moment it only returns true for the built-in types, but it seems better not to hard-code that assumption throughout the codebase. (E.g. we could in principle support some form of user-defined sizeless types in future. Even if that seems unlikely and never actually happens, the possibility at least exists.) Differential Revision: https://reviews.llvm.org/D75570
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions