diff options
author | Raman Tenneti <rtenneti@google.com> | 2023-02-16 09:56:36 -0800 |
---|---|---|
committer | Raman Tenneti <rtenneti@google.com> | 2023-02-16 10:12:18 -0800 |
commit | fbe210dc7a6ad87a30e5ffe928a168e621f6fcc5 (patch) | |
tree | 1f606f182924eebcb5d645c329d2a98285ff8d49 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 35742743d27363dd25c6b0bde3e9fcfd8a0f2167 (diff) | |
download | llvm-fbe210dc7a6ad87a30e5ffe928a168e621f6fcc5.zip llvm-fbe210dc7a6ad87a30e5ffe928a168e621f6fcc5.tar.gz llvm-fbe210dc7a6ad87a30e5ffe928a168e621f6fcc5.tar.bz2 |
[libc] Implement htonl and htons
Per spec:
* https://pubs.opengroup.org/onlinepubs/9699919799/functions/htonl.html
* https://pubs.opengroup.org/onlinepubs/9699919799/functions/htons.html
Also adds UInt16Type and UInt32Type to spec.td
Co-authored-by: Jeff Bailey <jbailey@google.com>
Reviewed By: sivachandra, jeffbailey, rtenneti
Differential Revision: https://reviews.llvm.org/D143795
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions