[PATCH] D56141: [asan] Support running without /proc

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 28 16:03:55 PST 2018


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_posix.cc:342
 
+bool ShouldMockFailureToOpen(const char *path) {
+  return common_flags()->test_only_emulate_no_procfs &&
----------------
what if instead of this we add
common_flags()->procfs_path and set it to /proc/ by defaut?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56141/new/

https://reviews.llvm.org/D56141





More information about the llvm-commits mailing list