summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHan Shen <shenhan@google.com>2018-05-18 03:01:06 +0000
committerHan Shen <shenhan@google.com>2018-05-18 03:01:06 +0000
commit3aede9283cc0a7cc1788c29e040e0f4e7439ba96 (patch)
tree86388aaed3baa3bf93f3f58359e7df0dd5e29226 /clang/lib/Frontend/CompilerInvocation.cpp
parentf31e91e4a8a3a01a8ab1dd7a0396b2be20c789ca (diff)
downloadbcm5719-llvm-3aede9283cc0a7cc1788c29e040e0f4e7439ba96.tar.gz
bcm5719-llvm-3aede9283cc0a7cc1788c29e040e0f4e7439ba96.zip
Mitigate relocation overflow [part 2 of 2]
_init_array_start/end are placed at 0 if no ".init_array" presents, this causes .text relocation against them become more prone to overflow. This CL sets ".init_array" address to that of ".text" to mitigate the situation. Review: https://reviews.llvm.org/D46200 llvm-svn: 332688
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud