[compiler-rt] a7538fe - [dfsan] Comment out ChainOrigin temporarily
Jianzhou Zhao via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 10:13:58 PST 2021
Author: Jianzhou Zhao
Date: 2021-02-12T18:13:24Z
New Revision: a7538fee3a0256a8891e746823f7b0f0ade84e62
URL: https://github.com/llvm/llvm-project/commit/a7538fee3a0256a8891e746823f7b0f0ade84e62
DIFF: https://github.com/llvm/llvm-project/commit/a7538fee3a0256a8891e746823f7b0f0ade84e62.diff
LOG: [dfsan] Comment out ChainOrigin temporarily
It was added by D96160, will be used by D96564.
Some OS got errors if it is not used.
Comment it out for the time being.
Added:
Modified:
compiler-rt/lib/dfsan/dfsan.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/dfsan/dfsan.cpp b/compiler-rt/lib/dfsan/dfsan.cpp
index 7abdf68e48b9..748bd619b417 100644
--- a/compiler-rt/lib/dfsan/dfsan.cpp
+++ b/compiler-rt/lib/dfsan/dfsan.cpp
@@ -304,6 +304,7 @@ dfsan_label dfsan_create_label(const char *desc, void *userdata) {
stack.Print(); \
}
+/*
static u32 ChainOrigin(u32 id, StackTrace *stack, bool from_init = false) {
// StackDepot is not async signal safe. Do not create new chains in a signal
// handler.
@@ -326,6 +327,7 @@ static u32 ChainOrigin(u32 id, StackTrace *stack, bool from_init = false) {
Origin chained = Origin::CreateChainedOrigin(o, stack);
return chained.raw_id();
}
+*/
static void WriteShadowIfDifferent(dfsan_label label, uptr shadow_addr,
uptr size) {
More information about the llvm-commits
mailing list