[all-commits] [llvm/llvm-project] cd40bd: hwasan: Move .note.hwasan.globals note to hwasan.m...
pcc via All-commits
all-commits at lists.llvm.org
Fri Jan 17 13:40:58 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cd40bd0a32e29fb62c89b120adbc89a847443da3
https://github.com/llvm/llvm-project/commit/cd40bd0a32e29fb62c89b120adbc89a847443da3
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2020-01-17 (Fri, 17 Jan 2020)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/test/Instrumentation/HWAddressSanitizer/globals.ll
Log Message:
-----------
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
More information about the All-commits
mailing list