[cfe-dev] Usage of file name in EmitCXXGlobalInitFunc

Keno Fischer kfischer at college.harvard.edu
Sun Aug 24 15:54:02 PDT 2014

EmitCXXGlobalInitFunc will include the filename of the current main
file in the symbol name. However, if the main file is a MemBuffer (as
in my case), this crashes. What is the purpose of including the
filename? What should be done if there is no filename? I'd be happy to
write up a patch, but I don't know what the right semantics are.


More information about the cfe-dev mailing list