[PATCH] D87620: [TSAN] Handle musttail call properly in EscapeEnumerator (and TSAN)

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 12:08:33 PDT 2020


wenlei added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/EscapeEnumerator.cpp:111
     CallInst *CI = cast<CallInst>(Calls[--I]);
     changeToInvokeAndSplitBasicBlock(CI, CleanupBB);
   }
----------------
Does TSAN rely on exit cleanup instrumentation for correctness? How does it work for existing Invoke?

This patch would be fine if missing some exit instrumentation is ok in general..


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87620/new/

https://reviews.llvm.org/D87620



More information about the llvm-commits mailing list