Re: [PATCH] tools build: Fix clang detection with clang >= 8.0

2019-08-14 Thread Nick Desaulniers
On Mon, Aug 12, 2019 at 10:07 PM Matthew Dawson wrote: > > The 8.0 release of clang/llvm moved the VirtualFileSystem.h header > to from clang to llvm. This change causes a compile error, causing > perf to not detect clang/llvm. > > Fix by including the right header for the different versions of l

[PATCH] tools build: Fix clang detection with clang >= 8.0

2019-08-12 Thread Matthew Dawson
The 8.0 release of clang/llvm moved the VirtualFileSystem.h header to from clang to llvm. This change causes a compile error, causing perf to not detect clang/llvm. Fix by including the right header for the different versions of llvm, using the older header for llvm < 8, and the new header for ll