HomePhabricator

[lldb/test] Fix lldbutil.run_to_***_breakpoint for shared libraries

Authored by labath on Jul 7 2020, 6:23 AM.

Description

[lldb/test] Fix lldbutil.run_to_***_breakpoint for shared libraries

Even non-remote targets may need to set the launch environment
((DY)LD_LIBRARY_PATH, specifically) to run successfully.

Also, add an assertion to better detect the case when launching a target
fails and the breakpoint is never hit.

Details

Committed
labathJul 7 2020, 7:07 AM
Parents
rG16266e63963a: [Scalarizer] When gathering scattered scalar, don't replace it with itself
Branches
Unknown
Tags
Unknown