Make __stack_chk_guard dso_local if Reloc::Static
authorFangrui Song <i@maskray.me>
Sat, 5 Dec 2020 00:57:45 +0000 (16:57 -0800)
committerFangrui Song <i@maskray.me>
Sat, 5 Dec 2020 00:57:45 +0000 (16:57 -0800)
commit2518433f861fcb877d0a7bdd9aec1aec1f77505a
tree0595287aa26049d9cbdcfc928146bd64e464c87e
parent54971c3a75594a7055efbad22923e581e6e4e7f7
Make __stack_chk_guard dso_local if Reloc::Static

This is currently implied by TargetMachine::shouldAssumeDSOLocal
but will be changed in the future.
llvm/lib/CodeGen/TargetLoweringBase.cpp