You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
865 B
30 lines
865 B
# Sanitizer flags
|
|
|
|
|
|
sanitize_address {
|
|
QMAKE_CFLAGS += $$QMAKE_SANITIZE_ADDRESS_CFLAGS
|
|
QMAKE_CXXFLAGS += $$QMAKE_SANITIZE_ADDRESS_CXXFLAGS
|
|
QMAKE_LFLAGS += $$QMAKE_SANITIZE_ADDRESS_LFLAGS
|
|
}
|
|
|
|
sanitize_memory {
|
|
QMAKE_CFLAGS += $$QMAKE_SANITIZE_MEMORY_CFLAGS
|
|
QMAKE_CXXFLAGS += $$QMAKE_SANITIZE_MEMORY_CXXFLAGS
|
|
QMAKE_LFLAGS += $$QMAKE_SANITIZE_MEMORY_LFLAGS
|
|
}
|
|
|
|
sanitize_thread {
|
|
QMAKE_CFLAGS += $$QMAKE_SANITIZE_THREAD_CFLAGS
|
|
QMAKE_CXXFLAGS += $$QMAKE_SANITIZE_THREAD_CXXFLAGS
|
|
QMAKE_LFLAGS += $$QMAKE_SANITIZE_THREAD_LFLAGS
|
|
}
|
|
|
|
sanitize_undefined {
|
|
QMAKE_CFLAGS += $$QMAKE_SANITIZE_UNDEFINED_CFLAGS
|
|
QMAKE_CXXFLAGS += $$QMAKE_SANITIZE_UNDEFINED_CXXFLAGS
|
|
QMAKE_LFLAGS += $$QMAKE_SANITIZE_UNDEFINED_LFLAGS
|
|
}
|
|
|
|
QMAKE_CFLAGS += $$QMAKE_COMMON_SANITIZE_CFLAGS
|
|
QMAKE_CXXFLAGS += $$QMAKE_COMMON_SANITIZE_CXXFLAGS
|
|
|
|
|