aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorXiangling Liao <Xiangling.Liao@ibm.com>2021-02-08 11:14:23 -0500
committerXiangling Liao <Xiangling.Liao@ibm.com>2021-02-08 11:14:34 -0500
commit6b1e2fc89327a64c9300d543e00f12435c32dfcf (patch)
tree523eb9f84afc2f33b01698bc73b2d71e3afd25af /llvm/lib/Object/ELFObjectFile.cpp
parentecc8ac3f081b57c25b94a69a04b3088f22a2794f (diff)
downloadllvm-6b1e2fc89327a64c9300d543e00f12435c32dfcf.zip
llvm-6b1e2fc89327a64c9300d543e00f12435c32dfcf.tar.gz
llvm-6b1e2fc89327a64c9300d543e00f12435c32dfcf.tar.bz2
[FE] Manipulate the first byte of guard variable type in both load and store operation
As Itanium ABI[http://itanium-cxx-abi.github.io/cxx-abi/abi.html#once-ctor] points out: "The size of the guard variable is 64 bits. The first byte (i.e. the byte at the address of the full variable) shall contain the value 0 prior to initialization of the associated variable, and 1 after initialization is complete." Differential Revision: https://reviews.llvm.org/D95822
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions