facebookexperimental / object-introspection

Object Introspection (OI) enables on-demand, hierarchical profiling of objects in arbitrary C/C++ programs with no recompilation.
Apache License 2.0
163 stars 14 forks source link

Increase template backtrace limit in clang driver #476

Closed tyroguru closed 8 months ago

tyroguru commented 8 months ago

Summary

Currently when clang is dumping out a stacktrace of badness with template instantiations it will truncate the stack at 10 "frames". This diff means we disable any limiting so that we get all the template instantiation frames. It's bad enough trying to decipher the template madness but having incomplete information just adds to the problem.

Test plan

Internally tested on a cycle.