[PATCH] D19627: [scan-build] fix logic error warning emitted on compiler-rt code base
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Mon May 2 12:13:13 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL268282: [scan-build] fix logic error warning emitted on compiler-rt code base (authored by kcc).
Changed prior to commit:
http://reviews.llvm.org/D19627?vs=55535&id=55860#toc
Repository:
rL LLVM
http://reviews.llvm.org/D19627
Files:
compiler-rt/trunk/lib/asan/asan_suppressions.cc
Index: compiler-rt/trunk/lib/asan/asan_suppressions.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_suppressions.cc
+++ compiler-rt/trunk/lib/asan/asan_suppressions.cc
@@ -89,6 +89,7 @@
if (suppression_ctx->HasSuppressionType(kInterceptorViaFunction)) {
SymbolizedStack *frames = symbolizer->SymbolizePC(addr);
+ CHECK(frames);
for (SymbolizedStack *cur = frames; cur; cur = cur->next) {
const char *function_name = cur->info.function;
if (!function_name) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19627.55860.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160502/90a465cf/attachment.bin>
More information about the llvm-commits
mailing list