aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-02-25 08:40:26 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-02-25 08:40:26 +0000
commit12737b7f7290218e93ac658d1ea24f7adf997143 (patch)
tree5d57b681cab6863d43966192ef4384623fad48a0 /llvm/lib/CodeGen/MachineFunctionPass.cpp
parent3d3d0f41516dcef0992bedb37d35ce6db1b31847 (diff)
downloadllvm-12737b7f7290218e93ac658d1ea24f7adf997143.zip
llvm-12737b7f7290218e93ac658d1ea24f7adf997143.tar.gz
llvm-12737b7f7290218e93ac658d1ea24f7adf997143.tar.bz2
[ELF] - Referencing __start or __stop should keep the section from GC.
This fixes the https://llvm.org/bugs/show_bug.cgi?id=22906 bug. In GNU Binutils, a reference to start or stop is sufficient to prevent the section from being garbage collected. Patch implements the same behavior for lld. Differential revision: http://reviews.llvm.org/D17502 llvm-svn: 261840
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions