[PATCH] D48254: [sanitizer] Refactor GNU libc version retrieval

Peter Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 16 03:12:59 PDT 2018


Lekensteyn created this revision.
Lekensteyn added reviewers: vitalybuka, kcc, jakubjelinek.
Lekensteyn added a project: Sanitizers.
Herald added subscribers: Sanitizers, llvm-commits, kubamracek.

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.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48254

Files:
  lib/sanitizer_common/sanitizer_linux_libcdep.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48254.151614.patch
Type: text/x-patch
Size: 3767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180616/7027e9e7/attachment.bin>


More information about the llvm-commits mailing list