Re: [Lldb-commits] [PATCH] D17957: Expression evaluation for overloaded C functions

2016-03-11 Thread Sean Callanan via lldb-commits
spyffe requested changes to this revision. spyffe added a comment. This revision now requires changes to proceed. There are a few changes I'd recommend to this patch. The biggest one is to move mangling knowledge from IRExecutionUnit to LanguageCPlusPlus, where it logically fits better. The tes

Re: [Lldb-commits] [PATCH] D17957: Expression evaluation for overloaded C functions

2016-03-11 Thread Sean Callanan via lldb-commits
spyffe added a reviewer: clayborg. spyffe added a comment. Added Greg to look at the testsuite changes. Repository: rL LLVM http://reviews.llvm.org/D17957 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mai

Re: [Lldb-commits] [PATCH] D17777: Add regression test for expressions calling functions taking anonymous struct typedef arguments

2016-03-11 Thread Sean Callanan via lldb-commits
spyffe accepted this revision. spyffe added a comment. This revision is now accepted and ready to land. This looks fine. Overloadable C functions are being tested separately, so this is fine to go in. http://reviews.llvm.org/D1 ___ lldb-commit

[Lldb-commits] [lldb] r263864 - Handle any persistent Decl in the Clang expression parser, not just types.

2016-03-18 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Mar 18 19:51:43 2016 New Revision: 263864 URL: http://llvm.org/viewvc/llvm-project?rev=263864&view=rev Log: Handle any persistent Decl in the Clang expression parser, not just types. Persistent decls have traditionally only been types. However, we want to be able to pers

[Lldb-commits] [lldb] r263995 - Collect IRExecutionUnits as part of persistent expression state.

2016-03-21 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Mon Mar 21 17:23:38 2016 New Revision: 263995 URL: http://llvm.org/viewvc/llvm-project?rev=263995&view=rev Log: Collect IRExecutionUnits as part of persistent expression state. IRExecutionUnits contain code and data that persistent declarations can depend on. In order to kee

[Lldb-commits] [lldb] r264095 - Backend support for top-level Clang epxressions

2016-03-22 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Tue Mar 22 16:05:51 2016 New Revision: 264095 URL: http://llvm.org/viewvc/llvm-project?rev=264095&view=rev Log: Backend support for top-level Clang epxressions This patch adds a new ExecutionPolicy, eExecutionPolicyTopLevel, which tells the expression parser that the expressi

[Lldb-commits] [lldb] r264113 - Reverted a change in r264074 that made lldb-mi use lldb_private APIs.

2016-03-22 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Tue Mar 22 17:42:42 2016 New Revision: 264113 URL: http://llvm.org/viewvc/llvm-project?rev=264113&view=rev Log: Reverted a change in r264074 that made lldb-mi use lldb_private APIs. FileSystem::Fopen is a lldb_private API, but lldb-mi uses only the public API. Depending on l

[Lldb-commits] [lldb] r264478 - Removed LoggingDiagnosticConsumer, an unused class.

2016-03-25 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Mar 25 18:51:25 2016 New Revision: 264478 URL: http://llvm.org/viewvc/llvm-project?rev=264478&view=rev Log: Removed LoggingDiagnosticConsumer, an unused class. Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp Modified: lldb/trunk/

[Lldb-commits] [lldb] r264483 - Record all translation units with more than one function in them (e.g., blocks).

2016-03-25 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Mar 25 19:30:40 2016 New Revision: 264483 URL: http://llvm.org/viewvc/llvm-project?rev=264483&view=rev Log: Record all translation units with more than one function in them (e.g., blocks). Blocks and lambdas have their implementation functions stored in the IR for an expr

[Lldb-commits] [lldb] r264485 - When we import the definition for a Tagdecl, propagate its completeness too.

2016-03-25 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Mar 25 19:37:55 2016 New Revision: 264485 URL: http://llvm.org/viewvc/llvm-project?rev=264485&view=rev Log: When we import the definition for a Tagdecl, propagate its completeness too. The ASTImporter completes the full definiton for a TagDecl in several places, including

[Lldb-commits] [lldb] r264659 - Removed an override of LookupSymbol that mistakenly disabled it for Clang.

2016-03-28 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Mon Mar 28 16:07:53 2016 New Revision: 264659 URL: http://llvm.org/viewvc/llvm-project?rev=264659&view=rev Log: Removed an override of LookupSymbol that mistakenly disabled it for Clang. Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h

[Lldb-commits] [lldb] r264660 - Don't try to actually run code when the expression is top-level.

2016-03-28 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Mon Mar 28 16:10:36 2016 New Revision: 264660 URL: http://llvm.org/viewvc/llvm-project?rev=264660&view=rev Log: Don't try to actually run code when the expression is top-level. Modified: lldb/trunk/source/Expression/UserExpression.cpp Modified: lldb/trunk/source/Expressi

[Lldb-commits] [lldb] r264662 - Expose top-level Clang expressions via the command line and the API.

2016-03-28 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Mon Mar 28 16:20:05 2016 New Revision: 264662 URL: http://llvm.org/viewvc/llvm-project?rev=264662&view=rev Log: Expose top-level Clang expressions via the command line and the API. Top-level Clang expressions are expressions that act as new translation units, and define their

Re: [Lldb-commits] [lldb] r264662 - Expose top-level Clang expressions via the command line and the API.

2016-03-28 Thread Sean Callanan via lldb-commits
N.b., the Clang ASTImporter fixes for this went in as r264669. Make sure Clang has this fix if your testcases are failing. Sean > On Mar 28, 2016, at 2:20 PM, Sean Callanan via lldb-commits > wrote: > > Author: spyffe > Date: Mon Mar 28 16:20:05 2016 > New Revision: 264

[Lldb-commits] [lldb] r264821 - Don't register the addresses of private symbols from expressions.

2016-03-29 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Tue Mar 29 22:44:51 2016 New Revision: 264821 URL: http://llvm.org/viewvc/llvm-project?rev=264821&view=rev Log: Don't register the addresses of private symbols from expressions. They're not supposed to go in the symbol table, and in fact the way the JIT is currently implement

[Lldb-commits] [lldb] r264914 - Fixed a problem where a dSYM wasn't properly found because it had the wrong name

2016-03-30 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Mar 30 15:17:41 2016 New Revision: 264914 URL: http://llvm.org/viewvc/llvm-project?rev=264914&view=rev Log: Fixed a problem where a dSYM wasn't properly found because it had the wrong name Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/objc-static-me

Re: [Lldb-commits] [lldb] r266271 - Don't use auto - (try to) appease the Android g++ bot

2016-04-13 Thread Sean Callanan via lldb-commits
Hurray for the Android g++ bot! Sean > On Apr 13, 2016, at 6:23 PM, Enrico Granata via lldb-commits > wrote: > > Author: enrico > Date: Wed Apr 13 20:23:01 2016 > New Revision: 266271 > > URL: http://llvm.org/viewvc/llvm-project?rev=266271&view=rev > Log: > Don't use auto - (try to) appease t

[Lldb-commits] [lldb] r266389 - Added a testcase for defining and using a block in the expression parser.

2016-04-14 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Thu Apr 14 19:05:50 2016 New Revision: 266389 URL: http://llvm.org/viewvc/llvm-project?rev=266389&view=rev Log: Added a testcase for defining and using a block in the expression parser. Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py Mod

[Lldb-commits] [lldb] r266397 - Added a testcase for defining and using lambdas in the expression parser.

2016-04-14 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Thu Apr 14 19:26:32 2016 New Revision: 266397 URL: http://llvm.org/viewvc/llvm-project?rev=266397&view=rev Log: Added a testcase for defining and using lambdas in the expression parser. Added: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/lambdas/ lldb/trunk/pa

[Lldb-commits] [lldb] r266400 - Blocks are only reliably supported on Darwin. Disable the test otherwise.

2016-04-14 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Thu Apr 14 19:44:59 2016 New Revision: 266400 URL: http://llvm.org/viewvc/llvm-project?rev=266400&view=rev Log: Blocks are only reliably supported on Darwin. Disable the test otherwise. Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/blocks/TestBlocks.py Modi

Re: [Lldb-commits] [PATCH] D11790: Fix ObjC++ types Class and id being defined in C and C++ expressions.

2015-08-11 Thread Sean Callanan via lldb-commits
spyffe added a comment. It looks like this patch does not use "language" to determine which language the expression parser runs in, but rather to allow lookups specifically of "id" and "Class" if the current frame is not Objective-C++. Is that correct? http://reviews.llvm.org/D11790 __

Re: [Lldb-commits] [PATCH] D11790: Fix ObjC++ types Class and id being defined in C and C++ expressions.

2015-08-11 Thread Sean Callanan via lldb-commits
spyffe requested changes to this revision. spyffe added a comment. This revision now requires changes to proceed. Ooh, I'm reading the patch at the beginning of ClangUserExpression::Evaluate again and it does look like this patch sets language based on the language of the containing frame, and t

Re: [Lldb-commits] [PATCH] D11790: Fix ObjC++ types Class and id being defined in C and C++ expressions.

2015-08-14 Thread Sean Callanan via lldb-commits
spyffe added a subscriber: spyffe. spyffe added a comment. I totally agree that Objective-C shouldn’t be part of the default on non-Apple platforms. The way I imagine this working is that your current frame’s language gets “upgraded” – for the Clang expression parser, at least to something that

Re: [Lldb-commits] [PATCH] D11543: Fix evaluation of global operators in C++

2015-08-19 Thread Sean Callanan via lldb-commits
spyffe accepted this revision. spyffe added a comment. This revision is now accepted and ready to land. This looks great to me. Thank you! http://reviews.llvm.org/D11543 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.or

Re: [Lldb-commits] [PATCH] D11102: Set the default language to use when evaluating to that of the frame's CU.

2015-08-27 Thread Sean Callanan via lldb-commits
spyffe added a comment. I looked at this with Jim, and once his suggestions are applied this patch is fine. Thanks for working with us on it. I want to follow up and make non-Apple platforms not force ObjC (it doesn't matter for making the expression parser work). http://reviews.llvm.org/D111

[Lldb-commits] [lldb] r246562 - Add a predicate to allow a ClangASTContext to identify Clang types.

2015-09-01 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Tue Sep 1 12:58:03 2015 New Revision: 246562 URL: http://llvm.org/viewvc/llvm-project?rev=246562&view=rev Log: Add a predicate to allow a ClangASTContext to identify Clang types. Modified: lldb/trunk/include/lldb/Symbol/ClangASTContext.h Modified: lldb/trunk/include/lld

[Lldb-commits] [lldb] r246563 - When looking up types, find the first type we can import rather than just taking

2015-09-01 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Tue Sep 1 13:00:35 2015 New Revision: 246563 URL: http://llvm.org/viewvc/llvm-project?rev=246563&view=rev Log: When looking up types, find the first type we can import rather than just taking the first type we find and failing if it can't be imported. Modified: lldb/trun

[Lldb-commits] [lldb] r246666 - Improved logging for deported types in the ClangASTImporter.

2015-09-02 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 2 11:39:23 2015 New Revision: 24 URL: http://llvm.org/viewvc/llvm-project?rev=24&view=rev Log: Improved logging for deported types in the ClangASTImporter. Modified: lldb/trunk/source/Symbol/ClangASTImporter.cpp Modified: lldb/trunk/source/Symbol/ClangAS

[Lldb-commits] [lldb] r246667 - Removed comments that suggested that asserts in the ClangASTImporter should be

2015-09-02 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 2 11:40:59 2015 New Revision: 246667 URL: http://llvm.org/viewvc/llvm-project?rev=246667&view=rev Log: Removed comments that suggested that asserts in the ClangASTImporter should be debug-only. This is not the case; when they fire we are about to crash or do somethin

[Lldb-commits] [lldb] r246674 - Added an ExpressionParser plugin skeleton with nothing in it (yet).

2015-09-02 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 2 11:49:14 2015 New Revision: 246674 URL: http://llvm.org/viewvc/llvm-project?rev=246674&view=rev Log: Added an ExpressionParser plugin skeleton with nothing in it (yet). Added: lldb/trunk/source/Plugins/ExpressionParser/ Modified: lldb/trunk/lldb.xcodeproj/p

[Lldb-commits] [lldb] r246677 - Added a skeleton plugin for the Clang expression parser, so I can start factoring stuff into it.

2015-09-02 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 2 11:59:02 2015 New Revision: 246677 URL: http://llvm.org/viewvc/llvm-project?rev=246677&view=rev Log: Added a skeleton plugin for the Clang expression parser, so I can start factoring stuff into it. Added: lldb/trunk/source/Plugins/ExpressionParser/Clang/ Modif

[Lldb-commits] [lldb] r246737 - In preparation for factoring persistent variables into a generic part and a

2015-09-02 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 2 19:35:46 2015 New Revision: 246737 URL: http://llvm.org/viewvc/llvm-project?rev=246737&view=rev Log: In preparation for factoring persistent variables into a generic part and a Clang-specific part, create the ExpressionVariable source/header file and move ClangExpre

[Lldb-commits] [lldb] r246738 - Jim told me about a cleaner way to include headers from plug-ins.

2015-09-02 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Wed Sep 2 19:48:23 2015 New Revision: 246738 URL: http://llvm.org/viewvc/llvm-project?rev=246738&view=rev Log: Jim told me about a cleaner way to include headers from plug-ins. This is still something I need to fix, but at least it's not so ugly, and it's consistent with the

Re: [Lldb-commits] [PATCH] D11102: Set the default language to use when evaluating to that of the frame's CU.

2015-09-03 Thread Sean Callanan via lldb-commits
spyffe accepted this revision. spyffe added a comment. Looks good to me. Thanks, Dawn. Repository: rL LLVM http://reviews.llvm.org/D11102 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[Lldb-commits] [PATCH] D12602: Separate ClangExpressionVariable from ExpressionVariable

2015-09-03 Thread Sean Callanan via lldb-commits
spyffe created this revision. spyffe added a reviewer: jingham. spyffe added a subscriber: lldb-commits. spyffe set the repository for this revision to rL LLVM. This patch separates the generic portion of ClangExpressionVariable, which stores information about a variable that different parts of L

Re: [Lldb-commits] [PATCH] D12613: Lookup function using full name if one with mangled name is not found.

2015-09-03 Thread Sean Callanan via lldb-commits
spyffe added a comment. What is up with the name such that we have to look for its demangled version? Can you provide an example where this search would be required? http://reviews.llvm.org/D12613 ___ lldb-commits mailing list lldb-commits@lists.l

Re: [Lldb-commits] [PATCH] D12602: Separate ClangExpressionVariable from ExpressionVariable

2015-09-03 Thread Sean Callanan via lldb-commits
spyffe removed rL LLVM as the repository for this revision. spyffe updated this revision to Diff 33986. spyffe added a comment. Removed ClangExpressionVariable from the friend list for ValueObject. http://reviews.llvm.org/D12602 Files: include/lldb/Core/ValueObject.h include/lldb/Expression

Re: [Lldb-commits] [PATCH] D12602: Separate ClangExpressionVariable from ExpressionVariable

2015-09-03 Thread Sean Callanan via lldb-commits
spyffe updated this revision to Diff 34004. spyffe added a comment. According to Jim's suggestions, made CreateVariableInList return a ClangExpressionVariable * rather than a ExpressionVariableSP. Also made ExpressionVariable be able to get a shared pointer from itself, so that the few cases t

Re: [Lldb-commits] [PATCH] D12602: Separate ClangExpressionVariable from ExpressionVariable

2015-09-04 Thread Sean Callanan via lldb-commits
spyffe added a comment. Working on that now. I have to be careful not just to stuff ClangExpressionVariable* into ExpressionVariableSP, but to use shared_from_this, otherwise I get crashes in the testsuite. I'll update this patch once I get that cleaned up. http://reviews.llvm.org/D12602

Re: [Lldb-commits] [PATCH] D12602: Separate ClangExpressionVariable from ExpressionVariable

2015-09-04 Thread Sean Callanan via lldb-commits
spyffe updated this revision to Diff 34055. spyffe added a comment. Applied Jim's suggestion that FindVariableInList return a ClangExpressionVariable *. Also fixed some places where we should have called shared_from_this instead of creating a new shared pointer. http://reviews.llvm.org/D12602

Re: [Lldb-commits] [PATCH] D12602: Separate ClangExpressionVariable from ExpressionVariable

2015-09-04 Thread Sean Callanan via lldb-commits
spyffe updated this revision to Diff 34061. spyffe added a comment. Added a newline to the end of ExpressionVariable.cpp http://reviews.llvm.org/D12602 Files: include/lldb/Core/ValueObject.h include/lldb/Expression/ClangExpressionDeclMap.h include/lldb/Expression/ClangFunction.h include

[Lldb-commits] [lldb] r246871 - This patch separates the generic portion of ClangExpressionVariable, which

2015-09-04 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Sep 4 15:49:51 2015 New Revision: 246871 URL: http://llvm.org/viewvc/llvm-project?rev=246871&view=rev Log: This patch separates the generic portion of ClangExpressionVariable, which stores information about a variable that different parts of LLDB use, from the compiler-sp

[Lldb-commits] [lldb] r246872 - I accidentally committed some project-file changes. Undid those.

2015-09-04 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Sep 4 15:54:25 2015 New Revision: 246872 URL: http://llvm.org/viewvc/llvm-project?rev=246872&view=rev Log: I accidentally committed some project-file changes. Undid those. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj lldb/trunk/lldb.xcodeproj/xcshareddata

[Lldb-commits] [lldb] r247085 - ExpressionVariable now uses llvm::cast() instead of As...() for RTTI.

2015-09-08 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Tue Sep 8 17:23:39 2015 New Revision: 247085 URL: http://llvm.org/viewvc/llvm-project?rev=247085&view=rev Log: ExpressionVariable now uses llvm::cast() instead of As...() for RTTI. As part of our overall switch from hand-rolling RTTI to using LLVM-compatible methods, I've don

Re: [Lldb-commits] [PATCH] D12809: Better scheme to lookup alternate mangled name when looking up function address.

2015-09-14 Thread Sean Callanan via lldb-commits
spyffe requested changes to this revision. spyffe added a comment. I LOVE the idea of getting rid of those horrid "alternate manglings." We knew what the mangling was during name lookup, we should be able to recognize them later! As listed in my inline comments, I have some concerns about the s

[Lldb-commits] [lldb] r247615 - ClangExpressionDeclMap should only disable the Clang parser-specific state on

2015-09-14 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Mon Sep 14 16:03:44 2015 New Revision: 247615 URL: http://llvm.org/viewvc/llvm-project?rev=247615&view=rev Log: ClangExpressionDeclMap should only disable the Clang parser-specific state on Clang persistent variables. Modified: lldb/trunk/source/Expression/ClangExpression

Re: [Lldb-commits] [lldb] r247899 - [lldb-mi] Fix the handling of files in -data-info-line and -symbol-list-lines.

2015-09-17 Thread Sean Callanan via lldb-commits
Dawn, this breaks the OS X Xcode build because it can’t find “../lib/Support/regex_impl.h”. I only see that header in llvm/lib, but so far lldb-mi hasn’t had any LLVM dependencies and it doesn’t even have the right header search paths in Xcode. Should we be adding the LLVM headers as search pa

Re: [Lldb-commits] [lldb] r247899 - [lldb-mi] Fix the handling of files in -data-info-line and -symbol-list-lines.

2015-09-17 Thread Sean Callanan via lldb-commits
Sure. What about the LLVM libraries – right now after fixing the header issues I’m getting link errors: Undefined symbols for architecture x86_64: "_llvm_regcomp", referenced from: MIUtilParse::CRegexParser::CRegexParser(char const*) in MIUtilParse.o "_llvm_regexec", referenced from:

[Lldb-commits] [lldb] r247909 - Updated the Xcode build to reflect lldb-mi's dependency on LLVM.

2015-09-17 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Thu Sep 17 13:03:26 2015 New Revision: 247909 URL: http://llvm.org/viewvc/llvm-project?rev=247909&view=rev Log: Updated the Xcode build to reflect lldb-mi's dependency on LLVM. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/projec

Re: [Lldb-commits] [lldb] r247899 - [lldb-mi] Fix the handling of files in -data-info-line and -symbol-list-lines.

2015-09-17 Thread Sean Callanan via lldb-commits
$ svn commit Sendinglldb.xcodeproj/project.pbxproj Transmitting file data . Committed revision 247909. > On Sep 17, 2015, at 10:53 AM, d...@burble.org wrote: > > On Thu, Sep 17, 2015 at 10:49:22AM -0700, Sean Callanan wrote: >> Sure. What about the LLVM libraries ??? right now after fixi

[Lldb-commits] [lldb] r247910 - Removed a needless cast to ClangExpressionVariable.

2015-09-17 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Thu Sep 17 13:19:12 2015 New Revision: 247910 URL: http://llvm.org/viewvc/llvm-project?rev=247910&view=rev Log: Removed a needless cast to ClangExpressionVariable. Modified: lldb/trunk/source/Expression/Materializer.cpp Modified: lldb/trunk/source/Expression/Materializer

[Lldb-commits] [PATCH] D12984: Resolve symlinks when looking for the LLDB shlib

2015-09-18 Thread Sean Callanan via lldb-commits
spyffe created this revision. spyffe added a reviewer: clayborg. spyffe added a subscriber: lldb-commits. When running the testsuite, the LLDB shlib is a symlink to its actual location, so finding shlib-relative resources can be problematic. This patch fixes that by resolving symlinks. http://

Re: [Lldb-commits] [PATCH] D12984: Resolve symlinks when looking for the LLDB shlib

2015-09-18 Thread Sean Callanan via lldb-commits
spyffe updated this revision to Diff 35138. spyffe added a comment. Updated to reflect Greg's comments. http://reviews.llvm.org/D12984 Files: include/lldb/Host/FileSpec.h source/Host/common/FileSpec.cpp source/Host/common/HostInfoBase.cpp Index: source/Host/common/HostInfoBase.cpp ==

[Lldb-commits] [lldb] r248048 - Added support for resolving symbolic links to FileSpec.

2015-09-18 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Sep 18 16:39:31 2015 New Revision: 248048 URL: http://llvm.org/viewvc/llvm-project?rev=248048&view=rev Log: Added support for resolving symbolic links to FileSpec. We use the symbolic link to resolver to find the target of the LLDB shlib symlink if there is a symlink. Th

Re: [Lldb-commits] [PATCH] D12984: Resolve symlinks when looking for the LLDB shlib

2015-09-18 Thread Sean Callanan via lldb-commits
Sure. On it. Sean > On Sep 18, 2015, at 2:44 PM, Zachary Turner wrote: > > zturner added a comment. > > Furthermore, FileSpec can refer to a remote path, so you can't even > guarantee that the OS you're on is the same OS as that which the path > refers to. So another reason why putting this

Re: [Lldb-commits] [PATCH] D12984: Resolve symlinks when looking for the LLDB shlib

2015-09-18 Thread Sean Callanan via lldb-commits
spyffe added a subscriber: spyffe. spyffe added a comment. Sure. On it. Sean http://reviews.llvm.org/D12984 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D12984: Resolve symlinks when looking for the LLDB shlib

2015-09-18 Thread Sean Callanan via lldb-commits
spyffe added a reviewer: zturner. spyffe removed a subscriber: zturner. spyffe updated this revision to Diff 35143. spyffe added a comment. At zturner's suggestion, moved the function to FileSystem and renamed it to be more consistent with what other FileSystem functions are called. http://revi

Re: [Lldb-commits] [PATCH] D12984: Resolve symlinks when looking for the LLDB shlib

2015-09-18 Thread Sean Callanan via lldb-commits
spyffe updated this revision to Diff 35144. spyffe added a comment. Restored the old name based on zturner's suggestion that Realpath() is too specific and has semantics that Windows wouldn't honor. http://reviews.llvm.org/D12984 Files: include/lldb/Host/FileSpec.h include/lldb/Host/FileSy

[Lldb-commits] [lldb] r248055 - Moved ResolveSymbolicLink() to the FileSystem where it belongs, thanks

2015-09-18 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Sep 18 17:24:57 2015 New Revision: 248055 URL: http://llvm.org/viewvc/llvm-project?rev=248055&view=rev Log: Moved ResolveSymbolicLink() to the FileSystem where it belongs, thanks zturner! http://reviews.llvm.org/D12984 Modified: lldb/trunk/include/lldb/Host/FileSpec.

[Lldb-commits] [lldb] r248631 - Moved ClangExpressionHelper.h into the Clang expression parser plug-in.

2015-09-25 Thread Sean Callanan via lldb-commits
Author: spyffe Date: Fri Sep 25 17:47:07 2015 New Revision: 248631 URL: http://llvm.org/viewvc/llvm-project?rev=248631&view=rev Log: Moved ClangExpressionHelper.h into the Clang expression parser plug-in. Added: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h -

<    1   2   3