aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-08-16 12:55:02 +0000
committerEd Maste <emaste@freebsd.org>2017-08-16 12:55:02 +0000
commit37c40af7127469754891ebc8f78439c2720f71cd (patch)
tree6559531793b89baca913816945534b0534783c5c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent9c5d64b901cf3b056edf17c9960ae54338a4bd52 (diff)
downloadllvm-37c40af7127469754891ebc8f78439c2720f71cd.zip
llvm-37c40af7127469754891ebc8f78439c2720f71cd.tar.gz
llvm-37c40af7127469754891ebc8f78439c2720f71cd.tar.bz2
Make i386-*-freebsd expression work on JIT path
* Enable i386 ABI creation for freebsd * Added an extra argument in ABISysV_i386::PrepareTrivialCall for mmap syscall * Unlike linux, the last argument of mmap is actually 64-bit(off_t). This requires us to push an additional word for the higher order bits. * Prior to this change, ktrace dump will show mmap failures due to invalid argument coming from the 6th mmap argument. Patch by Karnajit Wangkhem Differential Revision: https://reviews.llvm.org/D34776 llvm-svn: 311002
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions