IncludeDirectives struct used a StringRef that pointed to a stack variable (SmallString<128> FilenameBuffer from PPDirectives.cpp:1513).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I see. The interesting thing is that it actually happens only in msvc compatibility mode (PPDirectives.cpp:1754). Thank you for finding this out!
LG. I'll commit the patch for you.
This comment was removed by curdeius.