[PATCH] D58082: [sanitizer] Don't compile GetPathAssumingFileIsRelativeToExec on Fuchsia

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 16:13:08 PST 2019


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_suppressions.cc:55
 
 #if !SANITIZER_FUCHSIA
   // If we cannot find the file, check if its location is relative to
----------------
Can you extract this into a function so we have no #if !SANITIZER_FUCHSIA here
and just single if with different definitions of the function?


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D58082





More information about the llvm-commits mailing list