This is an archive of the discontinued LLVM Phabricator instance.

[asan] Pass argc/argv/envp module constructor arguments to __asan_init
AbandonedPublic

Authored by eugenis on Aug 19 2016, 6:09 PM.

Details

Reviewers
kcc
vitalybuka

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis updated this revision to Diff 68754.Aug 19 2016, 6:09 PM
eugenis retitled this revision from to [asan] Pass argc/argv/envp module constructor arguments to __asan_init.
eugenis updated this object.
eugenis added reviewers: kcc, vitalybuka.
eugenis set the repository for this revision to rL LLVM.
eugenis added a subscriber: llvm-commits.
eugenis abandoned this revision.Aug 22 2016, 11:38 AM

No, I don't like this.
It's glibc/bionic specifc first of all.
And this way we are stuck with .preinit_array even with the shared runtime library, because otherwise asan initialization happens from an interceptor.