[all-commits] [llvm/llvm-project] 7d18cd: [Orc] Fix working memory buffer for section mappin...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Tue Mar 9 05:03:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d18cd9394c3abb278e3544b8b4159db59697187
      https://github.com/llvm/llvm-project/commit/7d18cd9394c3abb278e3544b8b4159db59697187
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp

  Log Message:
  -----------
  [Orc] Fix working memory buffer for section mapping in ELFDebugObject


  Commit: 6a3a386c6fc46e2ddf436b20c171291b6d193de2
      https://github.com/llvm/llvm-project/commit/6a3a386c6fc46e2ddf436b20c171291b6d193de2
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
    M llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll

  Log Message:
  -----------
  [Orc] Test DebugObjectManagerPlugin fills in load-address for .text section of in-memory ELF debug object


  Commit: 265bc5af7b3be612e170c66521a120b754128818
      https://github.com/llvm/llvm-project/commit/265bc5af7b3be612e170c66521a120b754128818
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/DebugObjectManagerPlugin.h
    M llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp

  Log Message:
  -----------
  [Orc] Always check mapped sections for ELFDebugObject are in bounds of working memory buffer

As stated in the JITLink user guide: Do not assume that the input object is well formed.
https://llvm.org/docs/JITLink.html#tips-for-jitlink-backend-developers


Compare: https://github.com/llvm/llvm-project/compare/ea5fb241b614...265bc5af7b3b


More information about the All-commits mailing list