diff options
author | Xiangling Liao <Xiangling.Liao@ibm.com> | 2021-02-08 11:14:23 -0500 |
---|---|---|
committer | Xiangling Liao <Xiangling.Liao@ibm.com> | 2021-02-08 11:14:34 -0500 |
commit | 6b1e2fc89327a64c9300d543e00f12435c32dfcf (patch) | |
tree | 523eb9f84afc2f33b01698bc73b2d71e3afd25af /llvm/lib/Object/ELFObjectFile.cpp | |
parent | ecc8ac3f081b57c25b94a69a04b3088f22a2794f (diff) | |
download | llvm-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