This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Fix bug in fallback logic for finding the resource directory.
ClosedPublic

Authored by JDevlieghere on Oct 1 2020, 2:31 PM.

Details

Summary

Both of the if-clauses modify the raw_path variable and the SharedFrameworks variant wasn't properly resetting the variable. Avoid future bugs like that by always resetting the variable.

Diff Detail

Event Timeline

JDevlieghere requested review of this revision.Oct 1 2020, 2:31 PM
JDevlieghere created this revision.
This revision is now accepted and ready to land.Oct 2 2020, 2:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2020, 9:56 AM