Replace hardcoded comment at 'lit.site.cfg.in'

At the moment almost every lit.site.cfg.in contains two lines comment:

  ## Autogenerated by LLVM/Clang configuration.
  # Do not edit!

The patch adds variable LIT_SITE_CFG_IN_HEADER, that is replaced from
configure_lit_site_cfg with the note and some useful information.

llvm-svn: 266520
This commit is contained in:
Alex Denisov 2016-04-16 07:03:45 +00:00
parent 1aafabf752
commit a3f5c4c047
16 changed files with 19 additions and 26 deletions

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
import os

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.name_suffix = "@ASAN_TEST_CONFIG_SUFFIX@"

View File

@ -1,2 +1,4 @@
@LIT_SITE_CFG_IN_HEADER@
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg")

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.name_suffix = "@DFSAN_TEST_CONFIG_SUFFIX@"

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Set attribute value if it is unset.
def set_default(attr, value):

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.name_suffix = "@LSAN_TEST_CONFIG_SUFFIX@"

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Load common config for all compiler-rt unit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.name_suffix = "@MSAN_TEST_CONFIG_SUFFIX@"

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.profile_lit_binary_dir = "@PROFILE_LIT_BINARY_DIR@"

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Load common config for all compiler-rt lit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Load common config for all compiler-rt unit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")

View File

@ -1,3 +1,5 @@
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.name_suffix = "@CONFIG_NAME@"
config.tool_name = "@SANITIZER_COMMON_LIT_TEST_MODE@"

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Load common config for all compiler-rt unit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/unittests/lit.common.unit.configured")

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
config.name_suffix = "@TSAN_TEST_CONFIG_SUFFIX@"
config.has_libcxx = @TSAN_HAS_LIBCXX@

View File

@ -1,3 +1,5 @@
@LIT_SITE_CFG_IN_HEADER@
# Tool-specific config options.
config.ubsan_lit_test_mode = "@UBSAN_LIT_TEST_MODE@"
config.target_cflags = "@UBSAN_TEST_TARGET_CFLAGS@"

View File

@ -1,5 +1,4 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
@LIT_SITE_CFG_IN_HEADER@
# Generic config options for all compiler-rt unit tests.
config.target_triple = "@TARGET_TRIPLE@"