[PATCH] D68774: [libFuzzer] Don't prefix absolute paths in fuchsia.

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 19:04:00 PDT 2019


phosek added inline comments.


================
Comment at: compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp:415
+    bool IsAbsolutePath = Path.length() > 1 && Path[0] == '/';
+    if (!IsAbsolutePath && Cmd.hasFlag("artifact_prefix")) {
+      Path = Cmd.getFlagValue("artifact_prefix") + "/" + Path;
----------------
Nit: no curly braces for block with a single statement (LLVM style).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68774





More information about the llvm-commits mailing list