HomePhabricator

[msan] Don't delete MSanAtExitRecord

Description

[msan] Don't delete MSanAtExitRecord

Summary:
Pre 2.27 libc can run same atexit handler twice
We will keep MSanAtExitRecord and reset fun to mark it as executed.

Fix PR40162

Reviewers: eugenis

Subscribers: jfb, jdoerfert, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D58221

Details

Committed
vitalybukaFeb 13 2019, 6:51 PM
Differential Revision
D58221: [msan] Don't delete MSanAtExitRecord
Branches
Unknown
Tags
Unknown