[PATCH] D103542: Fix dfsan handling of musttail calls.
Andrew via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 11:03:11 PDT 2021
browneee created this revision.
Herald added a subscriber: hiraditya.
browneee requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Without this change, a callsite like:
[[clang::musttail]] return func_call(x);
will cause an error like:
fatal error: error in backend: failed to perform tail call elimination
on a call site marked musttail
due to DFSan inserting instrumentation between the musttail call and
the return.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103542
Files:
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/test/Instrumentation/DataFlowSanitizer/musttailcall.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103542.349329.patch
Type: text/x-patch
Size: 5818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210602/a43c3359/attachment.bin>
More information about the llvm-commits
mailing list