summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/PDBSymbol.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-08 20:21:08 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-08 20:21:08 +0000
commit93ad6b31ec5a1d3f3f782f331acd179d64b7b0fc (patch)
treedd18df52ba10185d5c5a7cfcd4512b5e99fd7953 /llvm/lib/DebugInfo/PDB/PDBSymbol.cpp
parent055811ef722c140091f27dcc5f058e8ee17c6305 (diff)
downloadbcm5719-llvm-93ad6b31ec5a1d3f3f782f331acd179d64b7b0fc.tar.gz
bcm5719-llvm-93ad6b31ec5a1d3f3f782f331acd179d64b7b0fc.zip
Fix a handling of full path in break-insert.
For some time, eclipse (CDT) uses full path of the file in break-insert command when putting breakpoint on a source line. On windows, a typical command looks like the following. 56-break-insert -f F:\\work\\ws\\test\\main.c:49 Current implementation in lldb-mi have problem in 2 ways. 1. It was assuming that there will be only one : in the path which is wrong if full path is supplied. 2. CDT sends out path with double backslashes in windows which gives error on resolution. Fixed the : issue in lldb-mi. Changed FileSpec::Normalize to make sure that it handles the path with \\ correctly. Added test cases to check for full path in both lldb-mi and lldb. Also added a test case to check SBFileSpec with double slashes. llvm-svn: 228538
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBSymbol.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud