diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2020-01-17 09:49:40 -0800 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2020-01-17 13:40:52 -0800 |
commit | cd40bd0a32e29fb62c89b120adbc89a847443da3 (patch) | |
tree | 2b3f946378f91ddfdf9d35667b7a07bc3d3007b9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a8b9c93601112ceb846904a81e46fd52c98bff1c (diff) | |
download | llvm-cd40bd0a32e29fb62c89b120adbc89a847443da3.zip llvm-cd40bd0a32e29fb62c89b120adbc89a847443da3.tar.gz llvm-cd40bd0a32e29fb62c89b120adbc89a847443da3.tar.bz2 |
hwasan: Move .note.hwasan.globals note to hwasan.module_ctor comdat.
As of D70146 lld GCs comdats as a group and no longer considers notes in
comdats to be GC roots, so we need to move the note to a comdat with a GC root
section (.init_array) in order to prevent lld from discarding the note.
Differential Revision: https://reviews.llvm.org/D72936
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions