Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/test/msan/cxa_atexit.cpp
// RUN: %clangxx_msan -O0 %s -o %t && %run %t %p | // RUN: %clangxx_msan -fno-sanitize-memory-param-retval -O0 %s -o %t && %run %t %p | ||||
// PR17377: C++ module destructors get stale argument shadow. | // PR17377: C++ module destructors get stale argument shadow. | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
class A { | class A { | ||||
public: | public: | ||||
// This destructor get stale argument shadow left from the call to f(). | // This destructor get stale argument shadow left from the call to f(). | ||||
Show All 19 Lines |