[PATCH] D44435: Add the module name to __cuda_module_ctor and __cuda_module_dtor for unique function names

Simeon Ehrig via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 13 08:55:46 PDT 2018


SimeonEhrig created this revision.
SimeonEhrig added reviewers: karies, v.g.vassilev, rsmith, rjmccall.

This allows multi-module / incremental compilation environments to have unique global CUDA constructor and destructor function names.


Repository:
  rC Clang

https://reviews.llvm.org/D44435

Files:
  lib/CodeGen/CGCUDANV.cpp
  unittests/CodeGen/IncrementalProcessingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44435.138199.patch
Type: text/x-patch
Size: 6731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180313/ebc54cbe/attachment-0001.bin>


More information about the cfe-commits mailing list