[cfe-dev] Usage of file name in EmitCXXGlobalInitFunc
david.majnemer at gmail.com
Sun Aug 24 17:53:31 PDT 2014
We used to use "__GLOBAL_I_a" before r208128. I would suggest you do the
same when no filename exists.
On Sun, Aug 24, 2014 at 3:54 PM, Keno Fischer <kfischer at college.harvard.edu>
> 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.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev