This is an archive of the discontinued LLVM Phabricator instance.

Refactored lldb executable name discovery
ClosedPublic

Authored by vharron on May 17 2015, 8:27 PM.

Details

Summary

The lldb executable was referenced through the code by 7 different
(effectively) global variables.

global lldbExecutablePath
global lldbExecutable
os.environ['LLDB_EXEC']
os.environ['LLDB_TEST']
dotest.lldbExec
dotest.lldbHere
lldbtest.lldbExec

This change uses one global variable lldbtest_config.lldbExec to
replace them all.

Diff Detail

Repository
rL LLVM

Event Timeline

vharron updated this revision to Diff 25940.May 17 2015, 8:27 PM
vharron retitled this revision from to Refactored lldb executable name discovery.
vharron updated this object.
vharron edited the test plan for this revision. (Show Details)
vharron added a reviewer: clayborg.
vharron added a subscriber: Unknown Object (MLST).
vharron updated this revision to Diff 25944.May 17 2015, 10:40 PM

Fixed debugserver path calculation

clayborg accepted this revision.May 18 2015, 9:55 AM
clayborg edited edge metadata.

lgtm

This revision is now accepted and ready to land.May 18 2015, 9:55 AM
This revision was automatically updated to reflect the committed changes.