aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-10-08 17:06:00 +0000
committerKamil Rytarowski <n54@gmx.com>2018-10-08 17:06:00 +0000
commit73214e316dcf61e16d65c819dcdd584e04307630 (patch)
tree82a47aeda5eb715fcaeffe43dccc2d618b18fa46 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp
parente28c14642329c74ec1824206c7c888579b54f1c3 (diff)
downloadllvm-73214e316dcf61e16d65c819dcdd584e04307630.zip
llvm-73214e316dcf61e16d65c819dcdd584e04307630.tar.gz
llvm-73214e316dcf61e16d65c819dcdd584e04307630.tar.bz2
Fix Posix/devname_r for NetBSD
NetBSD returns a different type as a return value of devname_r(3) than FreeBSD and Darwin (int vs char*). This implies that checking for successful completion of this function has to be handled differently. This test used to work well, but was switched to fix Darwin, which broke NetBSD. Add a dedicated ifdef for NetBSD and make it functional again for this OS. llvm-svn: 343980
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions