mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00:00
Really unbreak Mac build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
32647ca140
commit
c348ad00e5
@ -92,7 +92,7 @@ FunctionPass *createThreadSanitizerPass(StringRef BlacklistFile = StringRef());
|
|||||||
ModulePass *createDataFlowSanitizerPass(void *(*getArgTLS)() = 0,
|
ModulePass *createDataFlowSanitizerPass(void *(*getArgTLS)() = 0,
|
||||||
void *(*getRetValTLS)() = 0);
|
void *(*getRetValTLS)() = 0);
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && defined(__linux__)
|
||||||
inline ModulePass *createDataFlowSanitizerPassForJIT() {
|
inline ModulePass *createDataFlowSanitizerPassForJIT() {
|
||||||
return createDataFlowSanitizerPass(getDFSanArgTLSPtrForJIT,
|
return createDataFlowSanitizerPass(getDFSanArgTLSPtrForJIT,
|
||||||
getDFSanRetValTLSPtrForJIT);
|
getDFSanRetValTLSPtrForJIT);
|
||||||
|
Loading…
Reference in New Issue
Block a user