/external/clang/test/CXX/expr/expr.unary/expr.new/ |
p17.cpp | 7 class dtor { class 8 ~dtor(); // expected-note 3 {{implicitly declared private here}} 13 new dtor[0]; // expected-error{{calling a private destructor of class 'dtor'}} 14 new dtor[3]; // expected-error{{calling a private destructor of class 'dtor'}} 15 new dtor[3][3]; // expected-error{{calling a private destructor of class 'dtor'}}
|
p17-crash.cpp | 3 // this used to crash due to templ<int>'s dtor not being marked as used by the
|
/external/clang/test/CodeGenCXX/ |
virtual-base-destructor-call.cpp | 19 // basic_iostream's complete dtor calls its base dtor, then its 20 // virtual base's dtor. 25 // basic_istream's complete dtor calls the base dtor, 26 // then its virtual base's base dtor. 31 // basic_istream's deleting dtor calls the complete dtor, then 37 // basic_iostream's deleting dtor calls its complete dtor, the [all...] |
virtual-destructor-calls.cpp | 16 // Complete dtor: just an alias because there are no virtual bases. 23 // Base dtor: actually calls A's base dtor. 28 // Deleting dtor: defers to the complete dtor. 41 // Complete dtor: just an alias (checked above). 43 // Deleting dtor: defers to the complete dtor. 48 // Base dtor: just an alias to B's base dtor [all...] |
sanitize-dtor-trivial.cpp | 1 // Test -fsanitize-memory-use-after-dtor 2 // RUN: %clang_cc1 -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s 3 // RUN: %clang_cc1 -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s
|
sanitize-dtor-tail-call.cpp | 1 // Test -fsanitize-memory-use-after-dtor 2 // RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s 3 // RUN: %clang_cc1 -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s 16 // Simple internal member is poisoned by compiler-generated dtor
|
sanitize-dtor-callback.cpp | 1 // Test -fsanitize-memory-use-after-dtor 2 // RUN: %clang_cc1 -fsanitize=memory -fsanitize-memory-use-after-dtor -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s 4 // Sanitizing dtor is emitted in dtor for every class, and only 12 // Simple internal member is poisoned by compiler-generated dtor 22 // Simple internal member is poisoned by compiler-generated dtor 45 // Explicitly compiler-generated dtor poisons object.
|
sanitize-dtor-vtable.cpp | 1 // RUN: %clang_cc1 -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s 2 // RUN: %clang_cc1 -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -disable-llvm-optzns -std=c++11 -triple=x86_64-pc-linux -emit-llvm -o - %s | FileCheck %s 26 // After invoking base dtor and dtor for virtual base, poison vtable ptr.
|
/frameworks/compile/slang/lit-tests/P_alloc_in_struct/ |
alloc_in_struct.rs | 3 // CHECK: define void @.rs.dtor()
|
/external/compiler-rt/test/tsan/ |
atexit.cc | 13 fprintf(stderr, "Logger dtor\n"); 29 // CHECK: Logger dtor
|
/bionic/libc/bionic/ |
__cxa_thread_atexit_impl.cpp | 29 thread_local_dtor* dtor = new thread_local_dtor(); local 31 dtor->func = func; 32 dtor->arg = arg; 33 dtor->dso_handle = dso_handle; 36 dtor->next = thread->thread_local_dtors; 37 thread->thread_local_dtors = dtor;
|
/external/clang/test/Profile/ |
cxx-virtual-destructor-calls.cpp | 16 // Base dtor 19 // Complete dtor must not be instrumented 22 // Deleting dtor must not be instrumented 25 // Base dtor counters and profile data 29 // Complete dtor counters and profile data must absent 33 // Deleting dtor counters and profile data must absent
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
new_array_cookie_uaf_test.cc | 13 fprintf(stderr, "DTOR %d\n", dtor_counter); 28 // COOKIE: DTOR 1 29 // COOKIE-NOT: DTOR 2 32 // NO_COOKIE: DTOR 1 33 // NO_COOKIE: DTOR 43 34 // NO_COOKIE-NOT: DTOR 44
|
/external/llvm/test/CodeGen/X86/ |
win-cleanuppad.ll | 4 %struct.Dtor = type { i8 } 8 %o = alloca %struct.Dtor, align 1 13 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 18 call x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor* %o) #2 [ "funclet"(token %0) ] 29 ; CHECK: callq "??1Dtor@@QAE@XZ" 35 ; CHECK: "?dtor$2@?0?simple_cleanup@4HA": 36 ; CHECK: callq "??1Dtor@@QAE@XZ" 57 declare x86_thiscallcc void @"\01??1Dtor@@QAE@XZ"(%struct.Dtor*) # [all...] |
/external/clang/test/Modules/Inputs/ |
templates-top.h | 48 ~SmallVectorImpl() {} // non-trivial dtor 51 // trivial dtor 54 // trivial dtor
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
eh990323-5.cpp | 7 int dtor = 0; variable 38 dtor++; 64 if (dtor != 9)
|
eh25.cpp | 15 throw 1; // This throws from EH dtor, should call my_terminate 24 A a; // A hit on this EH dtor went to the wrong place
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
eh990323-5.cpp | 7 int dtor = 0; variable 38 dtor++; 64 if (dtor != 9)
|
eh25.cpp | 15 throw 1; // This throws from EH dtor, should call my_terminate 24 A a; // A hit on this EH dtor went to the wrong place
|
/external/ltrace/ |
vect.h | 53 * DTOR is non-NULL, it is invoked on all hitherto created elements 54 * with the same DATA. If one of CLONE, DTOR is non-NULL, then both 58 void (*dtor)(void *elt, void *data), 61 /* Destroy VEC, which holds elements of type ELT_TYPE, using DTOR. */ 62 #define VECT_CLONE(TGT_VEC, SRC_VEC, ELT_TYPE, CLONE, DTOR, DATA) \ 68 void (*_dtor_callback)(ELT_TYPE *, void *) = DTOR; \ 100 * vect_erase(VEC, vect_size(VEC)-1, vect_size(VEC), DTOR, DATA); */ 102 void (*dtor)(void *emt, void *data), void *data); 104 #define VECT_POPBACK(VECP, ELT_TYPE, DTOR, DATA) \ 108 DTOR, DATA); [all...] |
/external/clang/test/Modules/ |
cxx-dtor.cpp | 2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -std=c++11 -fmodules-cache-path=%t -I %S/Inputs/cxx-dtor -emit-llvm-only %s
|
/external/compiler-rt/test/msan/ |
dtor-vtable.cc | 1 // RUN: %clangxx_msan %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t 3 // RUN: %clangxx_msan %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t 5 // RUN: %clangxx_msan %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t 7 // RUN: %clangxx_msan %s -DVPTRA=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t 9 // RUN: %clangxx_msan %s -DVPTRCA=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t 11 // RUN: %clangxx_msan %s -DVPTRCB=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t 13 // RUN: %clangxx_msan %s -DVPTRC=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t
|
dtor-vtable-multiple-inheritance.cc | 1 // RUN: %clangxx_msan %s -O0 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t 3 // RUN: %clangxx_msan %s -O1 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t 5 // RUN: %clangxx_msan %s -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t 7 // RUN: %clangxx_msan %s -DCVPTR=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t 9 // RUN: %clangxx_msan %s -DEAVPTR=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t 11 // RUN: %clangxx_msan %s -DEDVPTR=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 not %run %t
|
/external/libchrome/base/memory/ |
linked_ptr_unittest.cc | 20 virtual ~A() { history += base::StringPrintf("A%d dtor\n", mynum); } 28 ~B() override { history += base::StringPrintf("B%d dtor\n", mynum); } 98 "B2 dtor\n" 99 "A2 dtor\n" 104 "A0 dtor\n" 105 "A3 dtor\n" 106 "A1 dtor\n"
|
/external/clang/test/PCH/ |
chain-implicit-definition.cpp | 8 // A base with a virtual dtor. 13 // A derived class with an implicit virtual dtor.
|