[cfe-dev] Usage of file name in EmitCXXGlobalInitFunc

David Majnemer 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.
> Thanks,
> Keno
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140824/e4375dd9/attachment.html>

More information about the cfe-dev mailing list