Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/test/msan/chained_origin_empty_stack.cpp
// RUN: %clangxx_msan -fsanitize-memory-track-origins=2 -O3 %s -o %t && \ | // RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t && \ | ||||
// RUN: MSAN_OPTIONS=store_context_size=1 not %run %t 2>&1 | FileCheck %s | // RUN: MSAN_OPTIONS=store_context_size=1 not %run %t 2>&1 | FileCheck %s | ||||
// Test that stack trace for the intermediate store is not empty. | // Test that stack trace for the intermediate store is not empty. | ||||
// CHECK: MemorySanitizer: use-of-uninitialized-value | // CHECK: MemorySanitizer: use-of-uninitialized-value | ||||
// CHECK: #0 {{.*}} in main | // CHECK: #0 {{.*}} in main | ||||
// CHECK: Uninitialized value was stored to memory at | // CHECK: Uninitialized value was stored to memory at | ||||
Show All 25 Lines |