This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Refactor GNU libc version retrieval
AbandonedPublic

Authored by Lekensteyn on Jun 16 2018, 3:12 AM.

Details

Summary

Use gnu_get_libc_version (since GNU libc 2.1) instead of confstr because
the latter is intercepted by msan and therefore less suitable for reuse.

No functional change intended.

Diff Detail