[PATCH] Don't segfault in EmitCXXGlobalInitFunc when main file is a membuf

Keno Fischer kfischer at college.harvard.edu
Mon Aug 25 12:32:51 PDT 2014


Fixed minor nits, changed __GLOBAL_I_a to _GLOBAL__sub_I__null_ and added a test. I'd appreciate if somebody who uses CMake to run the unittests could test this. I tried to modify the CMakeLists by pattern matching, but haven't actually tested this.

http://reviews.llvm.org/D5043

Files:
  lib/CodeGen/CGDeclCXX.cpp
  unittests/CMakeLists.txt
  unittests/CodeGen/BufferSourceTest.cpp
  unittests/CodeGen/CMakeLists.txt
  unittests/CodeGen/Makefile
  unittests/Makefile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5043.12909.patch
Type: text/x-patch
Size: 7087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140825/4ab0046b/attachment.bin>


More information about the cfe-commits mailing list