head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.26
	perseant-exfatfs-base:1.2
	bouyer-sunxi-drm:1.2.0.24
	bouyer-sunxi-drm-base:1.2
	cjep_sun2x:1.2.0.22
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.20
	cjep_staticlib_x-base:1.2
	thorpej-futex-base:1.2
	bouyer-xenpvh-base2:1.2
	phil-wifi-20200421:1.2
	bouyer-xenpvh-base1:1.2
	phil-wifi-20200411:1.2
	bouyer-xenpvh:1.2.0.18
	bouyer-xenpvh-base:1.2
	phil-wifi-20200406:1.2
	ad-namecache-base3:1.2
	ad-namecache-base2:1.2
	ad-namecache-base1:1.2
	ad-namecache:1.2.0.16
	ad-namecache-base:1.2
	isaki-audio2:1.2.0.14
	isaki-audio2-base:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.12
	pgoyette-compat-base:1.2
	perseant-stdc-iso10646:1.2.0.10
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.8
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.6
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.4
	pgoyette-localcount-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base9:1.2
	tls-earlyentropy:1.2.0.2
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	rmind-smpnet-base:1.2
	rmind-smpnet:1.1.1.1.0.4
	rmind-smpnet-nbase:1.2
	riastradh-drm2-base2:1.1.1.1
	riastradh-drm2-base1:1.1.1.1
	riastradh-drm2:1.1.1.1.0.2
	riastradh-drm2-base:1.1.1.1
	compiler-rt-185671:1.1.1.1
	LLVM:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2014.02.26.22.40.08;	author joerg;	state dead;
branches;
next	1.1;
commitid	MkXS7etIMiW29Fqx;

1.1
date	2013.07.04.22.09.52;	author joerg;	state Exp;
branches
	1.1.1.1;
next	;
commitid	mDouscWH84IOAcWw;

1.1.1.1
date	2013.07.04.22.09.52;	author joerg;	state Exp;
branches
	1.1.1.1.4.1;
next	;
commitid	mDouscWH84IOAcWw;

1.1.1.1.4.1
date	2013.07.04.22.09.52;	author rmind;	state dead;
branches;
next	1.1.1.1.4.2;
commitid	cbp9Ov2uYijlqh3x;

1.1.1.1.4.2
date	2013.08.28.23.59.28;	author rmind;	state Exp;
branches;
next	1.1.1.1.4.3;
commitid	cbp9Ov2uYijlqh3x;

1.1.1.1.4.3
date	2014.05.18.17.45.55;	author rmind;	state dead;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;


desc
@@


1.2
log
@Retire sources from old build location.
@
text
@include_directories(..)

set(LSAN_CFLAGS
  ${SANITIZER_COMMON_CFLAGS})

set(LSAN_COMMON_SOURCES
  lsan_common.cc
  lsan_common_linux.cc)

set(LSAN_SOURCES
  lsan_interceptors.cc
  lsan_allocator.cc
  lsan_thread.cc
  lsan.cc)

set(LSAN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR})

# The common files need to build on every arch supported by ASan.
# (Even if they build into dummy object files.)
filter_available_targets(LSAN_COMMON_SUPPORTED_ARCH
  x86_64 i386 powerpc64)

# Architectures supported by the standalone LSan.
filter_available_targets(LSAN_SUPPORTED_ARCH
  x86_64)

set(LSAN_RUNTIME_LIBRARIES)

if(APPLE)
  add_compiler_rt_osx_object_library(RTLSanCommon
    ARCH ${LSAN_COMMON_SUPPORTED_ARCH}
    SOURCES ${LSAN_COMMON_SOURCES}
    CFLAGS ${LSAN_CFLAGS})
elseif(NOT ANDROID)
  foreach(arch ${LSAN_COMMON_SUPPORTED_ARCH})
    add_compiler_rt_object_library(RTLSanCommon ${arch}
      SOURCES ${LSAN_COMMON_SOURCES}
      CFLAGS ${LSAN_CFLAGS})
  endforeach()

  foreach(arch ${LSAN_SUPPORTED_ARCH})
    add_compiler_rt_static_runtime(clang_rt.lsan-${arch} ${arch}
      SOURCES ${LSAN_SOURCES}
              $<TARGET_OBJECTS:RTInterception.${arch}>
              $<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
              $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>
              $<TARGET_OBJECTS:RTLSanCommon.${arch}>
      CFLAGS ${LSAN_CFLAGS})
    list(APPEND LSAN_RUNTIME_LIBRARIES clang_rt.lsan-${arch})
  endforeach()
endif()

if (LLVM_INCLUDE_TESTS)
  add_subdirectory(tests)
endif()
add_subdirectory(lit_tests)
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of a cut-down copy of compiler-rt revision r185671.
@
text
@@


1.1.1.1.4.1
log
@file CMakeLists.txt was added on branch rmind-smpnet on 2013-08-28 23:59:28 +0000
@
text
@d1 56
@


1.1.1.1.4.2
log
@sync with head
@
text
@a0 56
include_directories(..)

set(LSAN_CFLAGS
  ${SANITIZER_COMMON_CFLAGS})

set(LSAN_COMMON_SOURCES
  lsan_common.cc
  lsan_common_linux.cc)

set(LSAN_SOURCES
  lsan_interceptors.cc
  lsan_allocator.cc
  lsan_thread.cc
  lsan.cc)

set(LSAN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR})

# The common files need to build on every arch supported by ASan.
# (Even if they build into dummy object files.)
filter_available_targets(LSAN_COMMON_SUPPORTED_ARCH
  x86_64 i386 powerpc64)

# Architectures supported by the standalone LSan.
filter_available_targets(LSAN_SUPPORTED_ARCH
  x86_64)

set(LSAN_RUNTIME_LIBRARIES)

if(APPLE)
  add_compiler_rt_osx_object_library(RTLSanCommon
    ARCH ${LSAN_COMMON_SUPPORTED_ARCH}
    SOURCES ${LSAN_COMMON_SOURCES}
    CFLAGS ${LSAN_CFLAGS})
elseif(NOT ANDROID)
  foreach(arch ${LSAN_COMMON_SUPPORTED_ARCH})
    add_compiler_rt_object_library(RTLSanCommon ${arch}
      SOURCES ${LSAN_COMMON_SOURCES}
      CFLAGS ${LSAN_CFLAGS})
  endforeach()

  foreach(arch ${LSAN_SUPPORTED_ARCH})
    add_compiler_rt_static_runtime(clang_rt.lsan-${arch} ${arch}
      SOURCES ${LSAN_SOURCES}
              $<TARGET_OBJECTS:RTInterception.${arch}>
              $<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
              $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>
              $<TARGET_OBJECTS:RTLSanCommon.${arch}>
      CFLAGS ${LSAN_CFLAGS})
    list(APPEND LSAN_RUNTIME_LIBRARIES clang_rt.lsan-${arch})
  endforeach()
endif()

if (LLVM_INCLUDE_TESTS)
  add_subdirectory(tests)
endif()
add_subdirectory(lit_tests)
@


1.1.1.1.4.3
log
@sync with head
@
text
@@


