jranieri-grammatech added a comment.
In https://reviews.llvm.org/D52905#1257040, @NoQ wrote:
> Hmmm, interesting. A checker doesn't usually need to access these specific
> static locals, at least not directly. These are usually accessed through
> functions in .cpp files that are supposed to be
NoQ added subscribers: george.karpenkov, dcoughlin, NoQ.
NoQ added a comment.
Hmmm, interesting. A checker doesn't usually need to access these specific
static locals, at least not directly. These are usually accessed through
functions in .cpp files that are supposed to be compiled with a pointe
jranieri-grammatech created this revision.
Herald added subscribers: cfe-commits, mgorny.
The `GDMIndex` functions return a pointer that's used as a key for looking up
data, but addresses of local statics defined in header files aren't the same
across shared library boundaries and the result is