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

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 10:20:54 PST 2016


mpividori added a comment.

Hi, I need that library because I am using the function `PathRemoveFileSpec()`. I couldn't find other option.
I use this pragma so when users link against libFuzzer, they don't have to explicitly add the `Shlwapi.lib` library.
Similar approaches in simplifying the user interface were considered when implementing other parts of the code. For example, in "FuzzerExtFunctions*" we use different implementation for Linux and Apple to avoid requiring extra flags when using libFuzzer.


Repository:
  rL LLVM

https://reviews.llvm.org/D27579





More information about the llvm-commits mailing list