[PATCH] D42389: [ubsan] Add preinit initializer for ubsan

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 13:03:37 PST 2018


vitalybuka added a comment.

Oh, reverting env part of  https://reviews.llvm.org/D39827 is necessary.
We can't use getenv() from preinit array.
@pcc If we revert getenv() part, we would not be able to use getenv/setenv for sanitizer options. but I guess we don't need them here  as we don't need them for any other sanitizers.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D42389





More information about the llvm-commits mailing list