[all-commits] [llvm/llvm-project] c09527: [JITLink] Fix bug in LinkGraph::createMutableConte...

lhames via All-commits all-commits at lists.llvm.org
Fri Mar 31 11:24:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0952762f238e6e9e69443dd93a00802be8379a5
      https://github.com/llvm/llvm-project/commit/c0952762f238e6e9e69443dd93a00802be8379a5
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

  Log Message:
  -----------
  [JITLink] Fix bug in LinkGraph::createMutableContentBlock overload.

Creating zero-filled blocks should use allocateBuffer to allocate the block's
content buffer, rather than allocateContent. (allocateContent interpreted what
would have been the size argument as a single-element ArrayRef and allocated a
single byte).


  Commit: 2666231d173686b9dfaae81b5651710dea95920a
      https://github.com/llvm/llvm-project/commit/2666231d173686b9dfaae81b5651710dea95920a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/Shared/ObjectFormats.cpp

  Log Message:
  -----------
  [ORC] Fix a typo in __objc_imageinfo section name.


Compare: https://github.com/llvm/llvm-project/compare/8153b92d9b83...2666231d1736


More information about the All-commits mailing list