summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorivanaivanovska <iivanovska@google.com>2024-10-09 11:42:11 +0200
committerGitHub <noreply@github.com>2024-10-09 11:42:11 +0200
commit1be64e5413cbe9cfa89539f70ad02ee1d8945ebe (patch)
treea69cd19f2c043e14a971dc8027dd863c5ceb41c5 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parent068d76b48093ccf8b55c4af6a6ccacfc1ce0ae53 (diff)
[clang][Sema] Add instant event when template instantiation is deferred. (#111524)
While profiling a clang invocation using `-ftime-trace`, now we add instant events when template instantiation is deferred. These events include the fully qualified name of the function template being deferred and therefore could be very verbose. This is therefore only added in verbose mode (when `TimeTraceVerbose` is enabled). The point of time when a particular instantiation is deferred can be used to identify the parent TimeTrace scope (usually another function instantiation), which is responsible for deferring this instantiation. This relationship can be used to attribute the cost of a deferred template instantiation to the function deferring this particular instantiation.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions