[PATCH] D100944: [CodeGen][ELF] Emit separate unique sections for different flags

Tomas Matheson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 08:11:22 PDT 2021


tmatheson updated this revision to Diff 345444.
tmatheson added a comment.

Rewrite the patch after the changes in D101311 <https://reviews.llvm.org/D101311> went in.

Split refactored UniqueID calulation into a separate review D102336 <https://reviews.llvm.org/D102336>, and
removed all variable/function renaming. This should make the review
significantly easier to.

Also added more tests to elf-unique-sections-by-flags.ll, and made the
existing tests in explicit-section-mergeable.ll more strict.

Changed Orc/RTDyldObjectLinkingLayerTest.cpp to use a non-allocatable
section (.note.GNU-stack) for its check, rather than trying to place an
object in the .debug_str section, which now results in a new .debug_str
section with SHF_ALLOC.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100944

Files:
  llvm/include/llvm/MC/MCContext.h
  llvm/lib/MC/MCContext.cpp
  llvm/test/CodeGen/Generic/elf-unique-sections-by-flags.ll
  llvm/test/CodeGen/Mips/gpopt-explict-section.ll
  llvm/test/CodeGen/X86/explicit-section-mergeable.ll
  llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100944.345444.patch
Type: text/x-patch
Size: 28017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210514/0a53e8a8/attachment.bin>


More information about the llvm-commits mailing list