diff options
Diffstat (limited to 'contrib/llvm/lib/System/Memory.cpp')
-rw-r--r-- | contrib/llvm/lib/System/Memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/System/Memory.cpp b/contrib/llvm/lib/System/Memory.cpp index ef23b8d..49ccf3d 100644 --- a/contrib/llvm/lib/System/Memory.cpp +++ b/contrib/llvm/lib/System/Memory.cpp @@ -61,7 +61,7 @@ void llvm::sys::Memory::InvalidateInstructionCache(const void *Addr, for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) asm volatile("icbi 0, %0" : : "r"(Line)); asm volatile("isync"); -# elif defined(__arm__) && defined(__GNUC__) +# elif defined(__arm__) && defined(__GNUC__) && !defined(__FreeBSD__) // FIXME: Can we safely always call this for __GNUC__ everywhere? char *Start = (char*) Addr; char *End = Start + Len; |