Skip to content

Commit d98868c

Browse files
committed
fix
1 parent 0afb780 commit d98868c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/tools/lldb-dap/Breakpoint.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "Breakpoint.h"
1010
#include "DAP.h"
11+
#include "LLDBUtils.h"
1112
#include "Protocol/DAPTypes.h"
1213
#include "ProtocolUtils.h"
1314
#include "lldb/API/SBAddress.h"
@@ -35,7 +36,7 @@ GetPersistenceDataForAddress(lldb::SBAddress &addr) {
3536
if (!file_spec.IsValid())
3637
return std::nullopt;
3738

38-
persistence_data.module = file_spec.GetFilename();
39+
persistence_data.module = GetSBFileSpecPath(file_spec);
3940
persistence_data.file_addr = addr.GetFileAddress();
4041
return persistence_data;
4142
}

0 commit comments

Comments
 (0)