[PATCH] D22418: COFF: Implement /reproduce flag.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 11:35:30 PDT 2016


pcc marked an inline comment as done.

================
Comment at: lib/Core/Reproduce.cpp:82
@@ +81,3 @@
+  if (std::error_code EC = sys::fs::make_absolute(Abs))
+    return EC;
+  path::remove_dots(Abs, /*remove_dot_dot=*/true);
----------------
Apparently if there is an error getting the current directory.

http://llvm-cs.pcc.me.uk/lib/Support/Path.cpp#824
http://llvm-cs.pcc.me.uk/lib/Support/Unix/Path.inc#248


https://reviews.llvm.org/D22418





More information about the llvm-commits mailing list