[Lldb-commits] [PATCH] D78421: Fix out of sync source code/executable when debugging

Martin Schmidt via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 4 00:29:33 PDT 2020


n1tram1 updated this revision to Diff 261742.
n1tram1 added a comment.

Have the File first check if it is the current stack frame being displayed and check if it needs an update that way.
Else, iteratively look for it's belonging module and check if it needs an update.

Also fix the SourceCache::AddSourceFile function by using the input file as a key (Before the key was always the default constructor of FileSpec).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78421/new/

https://reviews.llvm.org/D78421

Files:
  lldb/include/lldb/Core/SourceManager.h
  lldb/source/Core/SourceManager.cpp
  lldb/test/API/source-manager/TestSourceManager.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78421.261742.patch
Type: text/x-patch
Size: 6496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200504/2c201b89/attachment.bin>


More information about the lldb-commits mailing list