[PATCH] D27579: [libFuzzer] Diff 19 - Automatically link with Windows library.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 09:21:06 PST 2016


mpividori updated this revision to Diff 80906.
mpividori added a comment.

@zturner  I updated the code to include your suggestions.
The algorithm can't simply start from the end and look backwards for the first separator, because we need to preserve the prefix that represent the root location. We shouldn't remove anything there. In Windows we have many different options, like:  \\Server\Share\  ,  \  , C:  ,  C:\  ,  \\?\C:\  , \\?\UNC\Server\Share\ 
So, I need to start analyzing which kind of path we received, and then I can remove the separator in the rest of the path, if it exists.
Thanks.


Repository:
  rL LLVM

https://reviews.llvm.org/D27579

Files:
  lib/Fuzzer/FuzzerIOWindows.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27579.80906.patch
Type: text/x-patch
Size: 4614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161209/8372b8f8/attachment.bin>


More information about the llvm-commits mailing list