Revert: Enable profile on NetBSD

Requested by V.Kumar.

Not all tests pass.

llvm-svn: 310912
This commit is contained in:
Kamil Rytarowski 2017-08-15 09:56:47 +00:00
parent efb4d4c78c
commit d341194d68
2 changed files with 2 additions and 2 deletions

View File

@ -519,7 +519,7 @@ else()
endif()
if (PROFILE_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND
OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android|NetBSD")
OS_NAME MATCHES "Darwin|Linux|FreeBSD|Windows|Android")
set(COMPILER_RT_HAS_PROFILE TRUE)
else()
set(COMPILER_RT_HAS_PROFILE FALSE)

View File

@ -78,7 +78,7 @@ config.substitutions.append( ("%clangxx_profuse=", build_invocation(clang_cxxfla
config.substitutions.append( ("%clang_lto_profgen=", build_invocation(clang_cflags, True) + " -fprofile-instr-generate=") )
if config.host_os not in ['Darwin', 'FreeBSD', 'Linux', 'NetBSD']:
if config.host_os not in ['Darwin', 'FreeBSD', 'Linux']:
config.unsupported = True
if config.target_arch in ['armv7l']: