[PATCH] D68065: Propeller: LLD Support for Basic Block Sections

Sriraman Tallam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 17:23:34 PST 2020


tmsriram updated this revision to Diff 247143.
tmsriram added a comment.

Rebase.

The number of relocations per input section with basic blocks is a few, eyeballing it is about 3-4 relocations including the extra jump relocation that gets added.

Here is the summary of all the basic block sections patches in clang, llvm and lld:

D68063 <https://reviews.llvm.org/D68063> : Propeller: LLVM support for basic block sections   [BB: LLVM1] 
D73674 <https://reviews.llvm.org/D73674> : Propeller: LLVM support for basic block sections (Base Patch - Part 2) [BB: LLVM2]
D68049 <https://reviews.llvm.org/D68049> : Propeller: Clang options for basic block sections  [BB: Clang]
D68065 <https://reviews.llvm.org/D68065> : Propeller: LLD Support for Basic Block Sections [BB: LLD] -- This Patch!
D73497 <https://reviews.llvm.org/D73497> : lld: Propeller framework part I  [Propeller: LLD]

   BB: LLVM1
    /                \
  /                    \

BB: LLVM2                 BB: LLD

  |           \                    |
  |             \                  |
  |               \                |

BB: CLang      Propeller: LLD

                   


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

https://reviews.llvm.org/D68065

Files:
  lld/ELF/Arch/X86_64.cpp
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/ELF/LTO.cpp
  lld/ELF/Options.td
  lld/ELF/OutputSections.cpp
  lld/ELF/Relocations.h
  lld/ELF/Target.h
  lld/ELF/Writer.cpp
  lld/test/ELF/bb-sections-and-icf.s
  lld/test/ELF/bb-sections-delete-fallthru.s
  lld/test/ELF/bb-sections-pc32reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68065.247143.patch
Type: text/x-patch
Size: 32481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/f300e112/attachment.bin>


More information about the llvm-commits mailing list