[PATCH] Do not emit thunks with available_externally linkage in comdats

Derek Schuff dschuff at google.com
Fri May 8 09:40:46 PDT 2015


Actually the other places that needed fixing were all quite straightforward,
so just fix them too. Also make maybeSetTrivialComdat take a GO instead of a GV.

We could maybe even just replace the maybeSetTrivialComdat that takes the Decl
too, but that's probably another CL.


http://reviews.llvm.org/D9580

Files:
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGVTT.cpp
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/ItaniumCXXABI.cpp
  test/CodeGenCXX/thunks.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9580.25342.patch
Type: text/x-patch
Size: 7293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150508/1b53afb2/attachment.bin>


More information about the cfe-commits mailing list