summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-10-20 01:03:00 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-10-20 01:03:00 +0000
commit73b4f71125d160e79a6c61306bbe1ec20d921bff (patch)
tree8411d2dc77fca0a665e36c44ac12206587a32f71 /llvm/lib/ExecutionEngine
parent1f32ebe89229920e85a197bdf2c76a2c48ebfb8c (diff)
downloadbcm5719-llvm-73b4f71125d160e79a6c61306bbe1ec20d921bff.tar.gz
bcm5719-llvm-73b4f71125d160e79a6c61306bbe1ec20d921bff.zip
For UserSettingsController::UpdateDictionaryVariable(), clear the dictionary
if passed in a NULL new_value and the operation intended is eVarSetOperationAssign. This fixed a bug where in TestSettings.py: # Set the run-args and the env-vars. self.runCmd('settings set target.process.run-args A B C') self.runCmd('settings set target.process.env-vars ["MY_ENV_VAR"]=YES') # And add hooks to restore the settings during tearDown(). self.addTearDownHook( lambda: self.runCmd("settings set -r target.process.run-args")) self.addTearDownHook( lambda: self.runCmd("settings set -r target.process.env-vars")) "settings set -r target.process.env-vars" was not restoring the original env-vars setting. llvm-svn: 116895
Diffstat (limited to 'llvm/lib/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud