aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorYuxuan Chen <yuxuanchen1997@outlook.com>2024-01-03 09:01:19 -0800
committerGitHub <noreply@github.com>2024-01-03 09:01:19 -0800
commita8f43974260ec244d78336d2530f8fc097753580 (patch)
tree0fa1ff1227a89fccc686167d41560a64fe0cf012 /llvm/lib/Object/WasmObjectFile.cpp
parentcba217a9138aa8ea8d18111b648acde8f52ada8d (diff)
downloadllvm-a8f43974260ec244d78336d2530f8fc097753580.zip
llvm-a8f43974260ec244d78336d2530f8fc097753580.tar.gz
llvm-a8f43974260ec244d78336d2530f8fc097753580.tar.bz2
[Clang] Fix ICE where C++ Template Instantiation failed to handle attributed lambdas (#76523)
This PR is proposing a fix for https://github.com/llvm/llvm-project/issues/76521. Clang used to assume that during template instantiation, Lambda expressions can only have `FunctionProtoTypeLoc`s. However, this is not true for certain attributes like `__attribute__((pcs("aapcs-vfp")))`, whose interpretation happens after template instantiation. This PR changes the transformation logic for lambdas.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions