summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorAmy Kwan <amy.kwan1@ibm.com>2021-09-03 14:53:57 -0400
committerLouis Dionne <ldionne.2@gmail.com>2021-09-03 14:55:25 -0400
commit217c6d643124be312f4a99b203118744edb9d54c (patch)
treef4d8c10c4048ab0a34b34d7379c78de63c9b46aa /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
parentfd807601a7845a135ec16af674b70ef667c4d796 (diff)
[libc++][NFC] Mark values in gdb pretty print comparison functions as live to prevent values being optimized out.
It appears when testing LLVM 13 on Power, we run into failures with the `libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp` test case optimizing values out. Despite some the functions in the test already being marked with optnone, adding the `MarkAsLive()` calls inside of the pretty printer comparison functions resolves the issues of the values being optimized out. This patch aims to address https://llvm.org/PR51675. Differential Revision: https://reviews.llvm.org/D109204
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions