[cfe-dev] Cross translational unit LocationContext?

themod 1302 via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 10 00:12:58 PST 2018


Hello everyone,

In my checker I am analyzing the LocationContext object to get the chain of
functions which were called up to the current program point (similar to
what LocationContext::dumpStack() does).
Of course, when analyzing a single source file, the chain contains only
local functions.

But is there a way to get the _whole_ (global) chain?

I know there is a patch for cross translational unit analysis (
https://reviews.llvm.org/D30691) but I still have't been able to dump the
whole stack.

Thanks, Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180110/bbde3de3/attachment.html>


More information about the cfe-dev mailing list