aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-01-23 19:17:20 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-01-23 19:17:20 +0000
commitf1397fa7d799bee470816c31f4f75235ba1bab08 (patch)
treedd4558a1f5740e00c1377c6382fb08f85e4488eb /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent6b7156b74ddf811a1a4d3eaed47eacdf817d6b10 (diff)
downloadllvm-f1397fa7d799bee470816c31f4f75235ba1bab08.zip
llvm-f1397fa7d799bee470816c31f4f75235ba1bab08.tar.gz
llvm-f1397fa7d799bee470816c31f4f75235ba1bab08.tar.bz2
[compiler-rt] Fix the prototype of ioctl interceptor
The interceptor of ioctl is using a non-standard prototype: INTERCEPTOR(int, ioctl, int d, unsigned request, void *arg) At least on OS X, the request argument should be unsigned long and not just unsigned, and also instead of the last argument (arg), the function should be accepting a variable number of arguments, so the prototype should be: int ioctl(int fildes, unsigned long request, ...); We can still keep using `unsigned` internally to save space, because we know that all possible values of `request` will fit into it. Reviewed at http://reviews.llvm.org/D7038 llvm-svn: 226926
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions