[llvm-branch-commits] [compiler-rt-branch] r369340 - Merge r368246 for PR42988
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 20 00:53:07 PDT 2019
Author: hans
Date: Tue Aug 20 00:53:07 2019
New Revision: 369340
URL: http://llvm.org/viewvc/llvm-project?rev=369340&view=rev
Log:
Merge r368246 for PR42988
Update generate_netbsd_ioctls.awk for NetBSD 9.99.3
Register new ioctl argument types passed in ioctl(2) calls.
Modified:
compiler-rt/branches/release_90/utils/generate_netbsd_ioctls.awk
Modified: compiler-rt/branches/release_90/utils/generate_netbsd_ioctls.awk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/branches/release_90/utils/generate_netbsd_ioctls.awk?rev=369340&r1=369339&r2=369340&view=diff
==============================================================================
--- compiler-rt/branches/release_90/utils/generate_netbsd_ioctls.awk (original)
+++ compiler-rt/branches/release_90/utils/generate_netbsd_ioctls.awk Tue Aug 20 00:53:07 2019
@@ -482,6 +482,8 @@ function get_type(string)
return "sizeof(u16)"
} else if (string == "u_int32_t" || string == "uint32_t") {
return "sizeof(u32)"
+ } else if (string == "u_int64_t" || string == "uint64_t") {
+ return "sizeof(u64)"
} else if (string ~ /\*$/) {
return "sizeof(uptr)"
} else if (string == "off_t") {
@@ -623,6 +625,10 @@ function get_type(string)
return "struct_RF_ProgressInfo_sz"
} else if (string == "nvlist_ref_t") {
return "struct_nvlist_ref_sz"
+ } else if (string == "spi_ioctl_transfer_t") {
+ return "struct_spi_ioctl_transfer_sz"
+ } else if (string == "spi_ioctl_configure_t") {
+ return "struct_spi_ioctl_configure_sz"
} else {
print "Unrecognized entry: " string
print "Aborting"
More information about the llvm-branch-commits
mailing list