[PATCH] D45536: Do not keep shared symbols to garbage-collected eliminated DSOs.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 17:39:04 PDT 2018


rnk added a comment.

In https://reviews.llvm.org/D45536#1069392, @espindola wrote:

> Could you please put a --reproduce package of those libraries in a bug report? Thanks!


I made a reproducer here: https://drive.google.com/file/d/1LuMUQQK1F1AT5xJnGonBdeODqilqX5Fp/view?usp=sharing

This change caused `__cxa_finalize` to be removed from the dynamic symbol table, which ultimately lead to a crash in `__do_global_dtors_aux` during shutdown.


Repository:
  rL LLVM

https://reviews.llvm.org/D45536





More information about the llvm-commits mailing list