aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorKaining Zhong <zhongkaining.paxos@bytedance.com>2022-06-07 19:39:46 +0200
committerJohannes Altmanninger <aclopte@gmail.com>2022-06-07 20:24:34 +0200
commite80748ff8840a10bd7c7336eb5e98664480ba1ba (patch)
tree0e814d1819703a52b5f6689d0601fbf61ba49b66 /llvm/lib/Object/WasmObjectFile.cpp
parent4561352f7bd972939f19d7ff8462386c97b584ad (diff)
downloadllvm-e80748ff8840a10bd7c7336eb5e98664480ba1ba.zip
llvm-e80748ff8840a10bd7c7336eb5e98664480ba1ba.tar.gz
llvm-e80748ff8840a10bd7c7336eb5e98664480ba1ba.tar.bz2
[clang-diff] Fix assertion error when dealing with wide strings
Directly using StringLiteral::getString for wide string is not currently supported; therefore in ASTDiff, getStmtValue will fail when asserting that the StringLiteral has a width of 1. This patch also covers cases for UTF16 and UTF32 encoding, along with corresponding test cases. Fixes https://github.com/llvm/llvm-project/issues/55771. Reviewed By: johannes Differential Revision: https://reviews.llvm.org/D126651
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions