[compiler-rt] [rtsan] Decouple assertions from error actions (PR #109535)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 21 10:38:46 PDT 2024
================
@@ -28,6 +29,13 @@ static void SetInitialized() {
atomic_store(&rtsan_initialized, 1, memory_order_release);
}
+static auto PrintDiagnosticsAndDieAction(DiagnosticsInfo info) {
----------------
davidtrevelyan wrote:
We discussed this in person, we prefer for now (while the data is small and on the stack) to avoid complexities from potentially dangling references. We'll stick with value semantics and if lack of copy elision becomes a problem, change it later.
https://github.com/llvm/llvm-project/pull/109535
More information about the llvm-commits
mailing list