Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Index / initializer-memory.cpp
blob06e26d6fac73207449a834025ee3b2d2161d194b
1 // RUN: c-index-test -test-load-source-memory-usage none %s 2>&1 | FileCheck %s
3 // We would create millions of Exprs to fill out the initializer.
5 double data[1000000] = {0};
6 double data_empty_init[1000000] = {};
8 struct S {
9 S(int);
10 S();
13 S data2[1000000] = {0};
14 S data_empty_init2[1000000] = {};
16 // CHECK: TOTAL = {{.*}} ({{0|1}}.{{.*}} MBytes)