[PATCH] D65478: Create unique, but identically-named ELF sections for explicitly-sectioned functions and globals when using -function-sections and -data-sections.

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 18:06:32 PDT 2019


rahmanl updated this revision to Diff 212486.
rahmanl retitled this revision from "Create unique, but identically-named ELF sections for explicitly-sectioned functions when using -function-sections." to "Create unique, but identically-named ELF sections for explicitly-sectioned functions and globals when using -function-sections and -data-sections.".
rahmanl edited the summary of this revision.
rahmanl added a comment.

Updated the patch to handle data sections as well (thanks to @pcc for the suggestion).


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65478

Files:
  lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  test/CodeGen/X86/elf-associated.ll
  test/CodeGen/X86/explicit-elf-sections.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65478.212486.patch
Type: text/x-patch
Size: 5354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/d6604392/attachment.bin>


More information about the llvm-commits mailing list