[all-commits] [llvm/llvm-project] c8562e: [llvm-jitlink] Avoid assertion failure in make_err...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Fri Nov 24 06:11:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8562e81bce36f45f03ba059a58c3a1762a77ebe
      https://github.com/llvm/llvm-project/commit/c8562e81bce36f45f03ba059a58c3a1762a77ebe
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp

  Log Message:
  -----------
  [llvm-jitlink] Avoid assertion failure in make_error parameter

If GOTSym is not defined, we cannot call `GOTSym.getBlock()`. It failed with:
```
Assertion failed: (Base->isDefined() && "Not a defined symbol"), function getBlock, file JITLink.h, line 554.
```


  Commit: 962829bdb342d5dc9998a9f146146608812a832b
      https://github.com/llvm/llvm-project/commit/962829bdb342d5dc9998a9f146146608812a832b
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M llvm/include/llvm-c/Orc.h
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/include/llvm/ExecutionEngine/JITLink/aarch64.h
    M llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h

  Log Message:
  -----------
  [JITLink] Fix typos: symobls -> symbols (NFC)


Compare: https://github.com/llvm/llvm-project/compare/7eeedc124f99...962829bdb342


More information about the All-commits mailing list