[all-commits] [llvm/llvm-project] 02b462: [ORC] Static cast more uint64_t to size_t

David Spickett via All-commits all-commits at lists.llvm.org
Fri Sep 3 05:31:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02b462034875dcf8f73b80d746e1fe40cdb22fd6
      https://github.com/llvm/llvm-project/commit/02b462034875dcf8f73b80d746e1fe40cdb22fd6
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
    M llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp

  Log Message:
  -----------
  [ORC] Static cast more uint64_t to size_t

These instances don't have an obvious way to fail
nicely so I've just asserted they are within range.

Fixes the Arm 32 bit builds.




More information about the All-commits mailing list