[PATCH] D114749: [JITLink][ELF] Don't skip sections of size 0

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 09:11:51 PST 2021


steven_wu added inline comments.


================
Comment at: llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h:308
 
-    auto &GraphSec = G->createSection(*Name, Prot);
+    Block *B = nullptr;
     if (Sec.sh_type != ELF::SHT_NOBITS) {
----------------
lhames wrote:
> Is this needed?
Some of those are rebase errors. Let me clean it up.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114749/new/

https://reviews.llvm.org/D114749



More information about the llvm-commits mailing list