summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Globals.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-09-19 09:58:30 +0000
committerHans Wennborg <hans@hanshq.net>2018-09-19 09:58:30 +0000
commit4195eb1068d54fcdd3e942815bbde27248e81488 (patch)
tree69f8012ce81e3dd4bce334fb19b6601b33361292 /llvm/lib/IR/Globals.cpp
parente2b16389e7cde75996aeba698b9c95adf7e4995e (diff)
downloadbcm5719-llvm-4195eb1068d54fcdd3e942815bbde27248e81488.tar.gz
bcm5719-llvm-4195eb1068d54fcdd3e942815bbde27248e81488.zip
[COFF] Emit @feat.00 on 64-bit and set the CFG bit when emitting guardcf tables
The 0x800 bit in @feat.00 needs to be set in order to make LLD pick up the .gfid$y table. I believe this is fine to set even if we don't emit the instrumentation. We haven't emitted @feat.00 on 64-bit before. I see that MSVC does emit it, but I'm not entirely sure what the default value should be. I went with zero since that seems as safe as not emitting the symbol in the first place. Differential Revision: https://reviews.llvm.org/D52235 llvm-svn: 342532
Diffstat (limited to 'llvm/lib/IR/Globals.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud