reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
add_compiler_rt_component(safestack)

set(SAFESTACK_SOURCES
  safestack.cpp
  )

include_directories(..)

set(SAFESTACK_CFLAGS ${SANITIZER_COMMON_CFLAGS})

foreach(arch ${SAFESTACK_SUPPORTED_ARCH})
  add_compiler_rt_runtime(clang_rt.safestack
    STATIC
    ARCHS ${arch}
    SOURCES ${SAFESTACK_SOURCES}
            $<TARGET_OBJECTS:RTInterception.${arch}>
    CFLAGS ${SAFESTACK_CFLAGS}
    PARENT_TARGET safestack)
endforeach()