[PATCH] D38940: Make x86 __ehhandler comdat if parent function is

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 15 18:02:44 PDT 2017


compnerd added a comment.

BTW, I think that this is sufficient to show the behavior in MSVC:

  struct S { ~S(); };
  void g();
  
  __declspec(dllexport) void f() {
    S s;
    g();
  }  


https://reviews.llvm.org/D38940





More information about the llvm-commits mailing list