Make mmap's fd for anonymous memory acquisition default to -1, except on
authorBrian Gaeke <gaeke@uiuc.edu>
Sat, 11 Oct 2003 03:51:18 +0000 (03:51 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Sat, 11 Oct 2003 03:51:18 +0000 (03:51 +0000)
commit364f86d4dff7ec203afcef6ae09f64c468e57804
treeb3572c6e4b7d1873ff778b3de693a87f0e8eee96
parentab9585f38b432126909d3d0e1f54989cbc352ecf
Make mmap's fd for anonymous memory acquisition default to -1, except on
Linux. This is consistent with what FreeBSD and Solaris both want.
This makes the JIT work on FreeBSD 5.1-RELEASE. Whee.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9045 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp