summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-12-07 10:38:22 +0000
committerPavel Labath <labath@google.com>2017-12-07 10:38:22 +0000
commit62ef18562b5494567c601be41761cf8449960ad4 (patch)
tree28c52e9fcc72f1069e6799a56b1e66b2fd1727c6 /llvm/lib/CodeGen/SplitKit.cpp
parent0d6cf90663e6662e9b7b6045d56755679c1ffdc9 (diff)
downloadbcm5719-llvm-62ef18562b5494567c601be41761cf8449960ad4.tar.gz
bcm5719-llvm-62ef18562b5494567c601be41761cf8449960ad4.zip
Variable: Fix usage of uninitialised value
Summary: Variable::GetValuesForVariableExpressionPath was passing an uninitialised value for the final_task_on_target argument. On my compiler/optimization level combo, the final_task_on_target happened to contain "dereference" in some circumstances, which produced hilarious results. The same is true for other arguments to the GetValueForExpressionPath call. The correct behavior here seems to be to just omit the arguments altogether and let the default behavior take place. Reviewers: jingham Subscribers: mehdi_amini, lldb-commits Differential Revision: https://reviews.llvm.org/D40557 llvm-svn: 320021
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud