llvm-project/lldb
Jim Ingham 96a1596a7a For some reason, sometimes the directory paths that clang emits have internal
relative paths, like:

/whatever/llvm/lib/Sema/../../include/llvm/Sema/

That causes problems with our type uniquing, since we use the declaration file
and line as one component of the uniquing, and different ways of getting to the
same file will have different directory spellings, though they are functionally
equivalent.  We end up with two copies of the exact same type because of this, 
and that makes the expression parser give "duplicate type" errors.

I added a method to resolve paths with ../ in them and used that in the FileSpec::Equals,
for comparing Declarations and for doing Breakpoint compares as well, since they also
suffer from this if you specify breakpoints by full path (since nobody knows what
../'s to insert...)

<rdar://problem/18765814>

llvm-svn: 222075
2014-11-15 01:54:26 +00:00
..
cmake LLGS Android target support (r221570) missed adding some files: http://reviews.llvm.org/D6166 2014-11-10 15:06:15 +00:00
docs Change the encoding of the Triple string exchanged across GDB-RSP 2014-08-01 05:12:23 +00:00
examples Improved the TreeItem delegate which simplifies making tree items: 2014-10-07 17:30:23 +00:00
gtest thread state coordinator: fixed bug in thread running state book-keeping. 2014-10-09 17:00:55 +00:00
include For some reason, sometimes the directory paths that clang emits have internal 2014-11-15 01:54:26 +00:00
lib Fix some bugs from D5988 2014-10-31 15:57:52 +00:00
lldb.xcodeproj Fix the iOS build after recent inherited OTHER_LDFLAGS. 2014-11-12 18:05:32 +00:00
lldb.xcworkspace Fixup gtest layout, add Linux ThreadStateCoordinator.cpp. 2014-09-25 19:25:07 +00:00
resources Bump the verison number in the xcode project files. 2014-08-21 23:27:02 +00:00
scripts Do not override the existing definition of addr_size when adding new properties to SBTarget. Fixes rdar://18963842 2014-11-13 01:38:38 +00:00
source For some reason, sometimes the directory paths that clang emits have internal 2014-11-15 01:54:26 +00:00
test add Makefile rule for test program CREATE_STD_THREADS 2014-11-14 19:41:33 +00:00
tools Fix examine-threads to build for arm64. 2014-11-14 22:58:25 +00:00
utils LUI: Fix some issues causing crashes in the source view 2013-10-23 01:18:21 +00:00
www Add a few words of documentation for the the $\{var.script:\} feature 2014-10-28 21:13:31 +00:00
.arcconfig Update .arcconfig to point to reviews.llvm.org 2014-05-20 21:24:59 +00:00
.clang-format Fix .clang-format file to adhere to LLDB 140 column limit. 2014-08-19 17:18:38 +00:00
.gitignore Update .gitignore for MacOSX 2014-08-14 20:19:57 +00:00
CMakeLists.txt LLGS Android target support - for Andy Chien : http://reviews.llvm.org/D6166 2014-11-08 01:41:49 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Remove the -Wno-unused-function option. We are clean 2014-09-09 07:49:15 +00:00