[llvm] r194034 - llvm-cov: Added command-line option to change dir.

Alp Toker alp at nuanti.com
Mon Nov 4 17:38:36 PST 2013


Hello Yuchen,

Other code in LLVM doesn't include unistd.h without a platform ifdef,
could this be a portability problem?

Alp.

On 05/11/2013 01:20, Yuchen Wu wrote:
> Modified: llvm/trunk/tools/llvm-cov/llvm-cov.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-cov/llvm-cov.cpp?rev=194034&r1=194033&r2=194034&view=diff
> ==============================================================================
> --- llvm/trunk/tools/llvm-cov/llvm-cov.cpp (original)
> +++ llvm/trunk/tools/llvm-cov/llvm-cov.cpp Mon Nov  4 19:20:41 2013
> @@ -20,6 +20,7 @@
>  #include "llvm/Support/raw_ostream.h"
>  #include "llvm/Support/Signals.h"
>  #include "llvm/Support/system_error.h"
> +#include <unistd.h>
>  using namespace llvm;
>  

-- 
http://www.nuanti.com
the browser experts




More information about the llvm-commits mailing list