mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
Don't build DFSan functionality for Android.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e5fe1426a
commit
d60c43b4f3
@ -16,7 +16,7 @@
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
#if defined(__GNUC__) && defined(__linux__)
|
||||
#if defined(__GNUC__) && defined(__linux__) && !defined(ANDROID)
|
||||
inline void *getDFSanArgTLSPtrForJIT() {
|
||||
extern __thread __attribute__((tls_model("initial-exec")))
|
||||
void *__dfsan_arg_tls;
|
||||
@ -82,7 +82,7 @@ ModulePass *createDataFlowSanitizerPass(StringRef ABIListFile = StringRef(),
|
||||
void *(*getArgTLS)() = 0,
|
||||
void *(*getRetValTLS)() = 0);
|
||||
|
||||
#if defined(__GNUC__) && defined(__linux__)
|
||||
#if defined(__GNUC__) && defined(__linux__) && !defined(ANDROID)
|
||||
inline ModulePass *createDataFlowSanitizerPassForJIT(StringRef ABIListFile =
|
||||
StringRef()) {
|
||||
return createDataFlowSanitizerPass(ABIListFile, getDFSanArgTLSPtrForJIT,
|
||||
|
Loading…
Reference in New Issue
Block a user