[all-commits] [llvm/llvm-project] c737d4: [JITLink][ELF] Don't skip sections of size 0

Steven Wu via All-commits all-commits at lists.llvm.org
Tue Nov 30 09:19:30 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c737d4d203210f96919f4406e5b815b0946535ab
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELFLinkGraphBuilder.h
    A llvm/test/ExecutionEngine/JITLink/X86/ELF_empty_section.s

  Log Message:
  [JITLink][ELF] Don't skip sections of size 0

Size 0 sections can have symbols that have size 0. Build those sections
and symbols into the LinkGraph so they can be used properly if needed.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D114749

More information about the All-commits mailing list