aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectGUI.cpp
diff options
context:
space:
mode:
authorJan Kokemüller <jan.kokemueller@gmail.com>2023-10-30 19:56:03 +0100
committerGitHub <noreply@github.com>2023-10-30 14:56:03 -0400
commit134c91595568ea1335b22e559f20c1a488ea270e (patch)
tree95c06a312572f3cf488115a18d51b8fe5aa08a18 /lldb/source/Commands/CommandObjectGUI.cpp
parent849f963e3139d79eba9989554a299ec6a1a16b10 (diff)
downloadllvm-134c91595568ea1335b22e559f20c1a488ea270e.zip
llvm-134c91595568ea1335b22e559f20c1a488ea270e.tar.gz
llvm-134c91595568ea1335b22e559f20c1a488ea270e.tar.bz2
[libc++] Fix UB in <expected> related to "has value" flag (#68552) (#68733)
The calls to std::construct_at might overwrite the previously set __has_value_ flag in the case where the flag is overlapping with the actual value or error being stored (since we use [[no_unique_address]]). To fix this issue, this patch ensures that we initialize the __has_value_ flag after we call std::construct_at. Fixes #68552
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions