Revert "[lldb] Refactor SBFileSpec::GetDirectory"
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Mon, 15 May 2023 10:25:52 +0000 (14:25 +0400)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Mon, 15 May 2023 18:49:00 +0000 (22:49 +0400)
commit58e6caaba1cf623292c8898be30a5a56722432b3
treeb9bcb184021b7723283cc60f553604aa0b1c1ade
parentf39fd750ab59cb2482688168b25db303dbebdb09
Revert "[lldb] Refactor SBFileSpec::GetDirectory"

This reverts commit 2bea2d7b070dc5df723ce2b92dbc654b8bb1847e.

It introduced following failures on buildbot lldb-aarch64-windows:

lldb-api :: functionalities/process_save_core/TestProcessSaveCore.py
lldb-api :: python_api/symbol-context/TestSymbolContext.py

Differential Revision: https://reviews.llvm.org/D149625
lldb/source/API/SBFileSpec.cpp