[PATCH] D137834: [Support] Reduce Dependence on Host.h

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 06:39:43 PST 2022


lenary created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
lenary requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The intention behind this commit is to reduce the use of Host.h/Host.cpp
in Support, to where it is only necessary.

In this case, the endian-detection and support functionality needed by
these implementations can be provided by `Support/SwapByteOrder.h` in a
cleaner manner.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137834

Files:
  llvm/include/llvm/Support/OnDiskHashTable.h
  llvm/lib/Support/FoldingSet.cpp
  llvm/lib/Support/SHA1.cpp
  llvm/lib/Support/SHA256.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137834.474744.patch
Type: text/x-patch
Size: 5044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221111/44ecf5ad/attachment.bin>


More information about the llvm-commits mailing list