avt77 added a comment.

In https://reviews.llvm.org/D47196#1190377, @efriedma wrote:

> I mean, which of the callers of startFrontendTimer() is calling it with a 
> pointer to std::declval()?


F6951300: declval.log <https://reviews.llvm.org/F6951300>

The attachment keeps debug output for

....../bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all 
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name 
TransGCCalls.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix 
-mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases 
-munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info 
-debugger-tuning=gdb -v -v -coverage-notes-file 
/home/atischenko/workspaces/bootstrap/Release-patch/tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransGCCalls.cpp.gcno
 -resource-dir 
/home/atischenko/workspaces/time-report-recursive-4/RelWithDebug/lib/clang/8.0.0
 -D GTEST_HAS_RTTI=0 -D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D 
__STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I 
/home/atischenko/workspaces/bootstrap/Release-patch/tools/clang/lib/ARCMigrate 
-I /home/atischenko/workspaces/bootstrap/llvm/tools/clang/lib/ARCMigrate -I 
/home/atischenko/workspaces/bootstrap/llvm/tools/clang/include -I 
/home/atischenko/workspaces/bootstrap/Release-patch/tools/clang/include -I 
/usr/include/libxml2 -I 
/home/atischenko/workspaces/bootstrap/Release-patch/include -I 
/home/atischenko/workspaces/bootstrap/llvm/include -internal-isystem 
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0 
-internal-isystem 
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0
 -internal-isystem 
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0
 -internal-isystem 
/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward 
-internal-isystem /usr/local/include -internal-isystem 
/home/atischenko/workspaces/time-report-recursive-4/RelWithDebug/lib/clang/8.0.0/include
 -internal-externc-isystem /usr/include/x86_64-linux-gnu 
-internal-externc-isystem /include -internal-externc-isystem /usr/include 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wstring-conversion -Woverloaded-virtual 
-Wno-nested-anon-types -pedantic -std=c++11 -fdeprecated-macro 
-fdebug-compilation-dir 
/home/atischenko/workspaces/bootstrap/Release-patch/tools/clang/lib/ARCMigrate 
-ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -ftime-report 
-fno-rtti -fobjc-runtime=gcc -fno-common -fdiagnostics-show-option -o 
TransGCCalls.cpp.o -x c++ 
/home/atischenko/workspaces/bootstrap/llvm/tools/clang/lib/ARCMigrate/TransGCCalls.cpp
 -faddrsig -mllvm -debug-only=ftiming

The full log is too big that's why I grepped "declval" only:

- :start: means the timer was started
- :stop-zero: means the timer was stopped and nothing was added to the 
calculated time period
- :stop-add:<double> means the timer was stoped and the time slice was added to 
the time period.

There are DeclFunc* names and Tags to look for corresponding RAII objects 
inside sources. For example:

ActOnFunctionDeclarator:start:declval:

means

Tag:start:Name:

BTW, I see a lot of broken DeclFunc names: do you have any idea why it's 
possible? Example:

ActOnFunctionDeclarator:start:....._exception:

Here  ...... means non-ASCII symbols.


https://reviews.llvm.org/D47196



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to