summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2019-01-31 14:20:02 +0000
committerEric Liu <ioeric@google.com>2019-01-31 14:20:02 +0000
commita22c72ca8ff55a70e38ea0d40929a48324e5b8a4 (patch)
tree150d60d525f4ad0395c2a226c3207b700219c2e9 /clang/lib/CodeGen/CodeGenFunction.h
parent0ca744c8454de17a9907d1b3430d1a1b9f315bd8 (diff)
downloadbcm5719-llvm-a22c72ca8ff55a70e38ea0d40929a48324e5b8a4.tar.gz
bcm5719-llvm-a22c72ca8ff55a70e38ea0d40929a48324e5b8a4.zip
Revert "[Sanitizers] UBSan unreachable incompatible with ASan in the presence of `noreturn` calls"
This reverts commit r352690. This causes clang to crash. Sent reproducer to the author in the orginal commit. llvm-svn: 352755
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 575a500c29d..a989a0e46ca 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -4084,8 +4084,8 @@ public:
/// passing to a runtime sanitizer handler.
llvm::Constant *EmitCheckSourceLocation(SourceLocation Loc);
- /// Create a basic block that will either trap or call a handler function in
- /// the UBSan runtime with the provided arguments, and create a conditional
+ /// Create a basic block that will call a handler function in a
+ /// sanitizer runtime with the provided arguments, and create a conditional
/// branch to it.
void EmitCheck(ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked,
SanitizerHandler Check, ArrayRef<llvm::Constant *> StaticArgs,
OpenPOWER on IntegriCloud