Re: [Lldb-commits] [PATCH] D11465: Fix process load/unload on android

2015-07-27 Thread Siva Chandra
sivachandra added a comment. I am not really familiar with this area. OK from my side, but you might want clayborg to take a look at this. http://reviews.llvm.org/D11465 ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

Re: [Lldb-commits] [PATCH] D11473: Add option eTypeOptionHideEmptyAggregates.

2015-07-23 Thread Siva Chandra
sivachandra updated this revision to Diff 30542. sivachandra added a comment. Expose the new option in the type summary add command via a -h option. http://reviews.llvm.org/D11473 Files: include/lldb/DataFormatters/TypeSummary.h include/lldb/DataFormatters/ValueObjectPrinter.h

Re: [Lldb-commits] [PATCH] D11203: Add a class ValueObjectConstResultCast.

2015-07-14 Thread Siva Chandra
sivachandra added a comment. I will add tests in case the general direction of this change is OK. http://reviews.llvm.org/D11203 ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D11203: Add a class ValueObjectConstResultCast.

2015-07-14 Thread Siva Chandra
sivachandra created this revision. sivachandra added reviewers: clayborg, granata.enrico. sivachandra added a subscriber: lldb-commits. Other changes around the main change include: 1. Add a method Cast to ValueObjectConstResult, ValueObjectConstResultImpl and ValueObjectConstResultChild. 2.

[Lldb-commits] [lldb] r241208 - [Python] Allow PyLong values in integer lists (when converting to C lists)

2015-07-01 Thread Siva Chandra
Author: sivachandra Date: Wed Jul 1 18:27:32 2015 New Revision: 241208 URL: http://llvm.org/viewvc/llvm-project?rev=241208view=rev Log: [Python] Allow PyLong values in integer lists (when converting to C lists) Test Plan: dotest.py -p TestSBData Reviewers: clayborg, granata.enrico Reviewed

Re: [Lldb-commits] [PATCH] [Python] Allow PyLong PyBool values in integer list typemaps.

2015-06-30 Thread Siva Chandra
Allowing PyBool lists as well. OK? http://reviews.llvm.org/D10821 Files: scripts/Python/python-typemaps.swig test/python_api/sbdata/TestSBData.py EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ Index: scripts/Python/python-typemaps.swig

Re: [Lldb-commits] [PATCH] [Python] Allow PyLong values in integer lists (when converting to C lists)

2015-06-30 Thread Siva Chandra
Enrico prompted me to do this experiment: isinstance(True, long) False isinstance(False, long) False isinstance(False, int) True isinstance(True, int) True So, bools were allowed even before this patch! I have taken out the additional PyBool check and reverted to the original

[Lldb-commits] [PATCH] Add test for SBValue.GetNonSyntheticValue in presence of synth provider.

2015-06-26 Thread Siva Chandra
Hi granata.enrico, http://reviews.llvm.org/D10783 Files: test/python_api/formatters/TestFormattersSBAPI.py test/python_api/formatters/jas_synth.py test/python_api/formatters/main.cpp test/python_api/formatters/synth.py EMAIL PREFERENCES

Re: [Lldb-commits] [PATCH] Make SBValue::GetNonSyntheticValue return really that.

2015-06-25 Thread Siva Chandra
On Wed, Jun 24, 2015 at 7:21 PM, Enrico Granata egran...@apple.com wrote: I would like for your repro case to be added as a test case, so that we can catch any future regressions in this area If you have a few spare minutes and want to handle that, great; if not I’ll gladly do it tomorrow

Re: [Lldb-commits] [PATCH] [LLDBSwigPythonCallTypeScript] Remove redundant call to type summary func.

2015-06-24 Thread Siva Chandra
ping. This was probably missed due to the discussion on the other two patches. http://reviews.llvm.org/D10625 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

Re: [Lldb-commits] [PATCH] [ValueObjectPrinter::GetValueSummaryError] Get summary of non-synthetic values.

2015-06-24 Thread Siva Chandra
On Wed, Jun 24, 2015 at 10:46 AM, Enrico Granata granata.enr...@gmail.com wrote: I don't think this is the right change. A summary should be getting the most qualified possible value - compatible with user settings - because it makes sense to use that extra information in presenting

Re: [Lldb-commits] [PATCH] Make SBValue::GetNonSyntheticValue return really that.

2015-06-22 Thread Siva Chandra
I have a case where in the ValueObject backing the SBValue (via the ValueImpl) is itself a synthetic value. I hoped to get the non-synthetic version by calling SBValue::GetNonSyntheticValue. Before the proposed change, it was only returning the SBValue made from the backing ValueObject (which

Re: [Lldb-commits] [PATCH] Make SBValue::GetNonSyntheticValue return really that.

2015-06-22 Thread Siva Chandra
The following is a small repro case I am using. C++ source (class.cc): 1 class CCC 2 { 3 public: 4 int a, b, c; 5 }; 6 7 int 8 main () 9 { 10 CCC obj = { 111, 222, 333 }; 11 return 0; 12 } Python (ccc.py): 1 import lldb 2 3 def

Re: [Lldb-commits] [PATCH] Make SBValue::GetNonSyntheticValue return really that.

2015-06-22 Thread Siva Chandra
For the record, I put a patch which solves the problem I describe here in a different way: http://reviews.llvm.org/D10624 With my understanding of the code base, I am inclined to think that both solutions should be present (though only one of them is sufficient to solve the problem I am

[Lldb-commits] [lldb] r240048 - [TestLoadUnload] Build the main inferior exe with -pie.

2015-06-18 Thread Siva Chandra
Author: sivachandra Date: Thu Jun 18 15:33:56 2015 New Revision: 240048 URL: http://llvm.org/viewvc/llvm-project?rev=240048view=rev Log: [TestLoadUnload] Build the main inferior exe with -pie. Test Plan: dotest.py -p TestLoadUnload on Android API = 21 Reviewers: tberghammer Subscribers:

Re: [Lldb-commits] [PATCH] [TestLoadUnload] Enable for Android while skipping it for other remotes.

2015-06-17 Thread Siva Chandra
I have enabled this test for only Android as I have verified it only for Android. http://reviews.llvm.org/D10469 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

Re: [Lldb-commits] [PATCH] [TestLoadUnload] Enable for Android while skipping it for other remotes.

2015-06-17 Thread Siva Chandra
Address comments. http://reviews.llvm.org/D10469 Files: test/functionalities/load_unload/Makefile test/functionalities/load_unload/TestLoadUnload.py test/functionalities/load_unload/d.c test/lldbtest.py EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ Index:

Re: [Lldb-commits] [PATCH] [TestLoadUnload] Enable for Android while skipping it for other remotes.

2015-06-17 Thread Siva Chandra
Rename skipIfUnlistedRemote to skipUnlessListedRemote. http://reviews.llvm.org/D10469 Files: test/functionalities/load_unload/Makefile test/functionalities/load_unload/TestLoadUnload.py test/functionalities/load_unload/d.c test/lldbtest.py EMAIL PREFERENCES

[Lldb-commits] [lldb] r239183 - [TestGdbRemoteAbort] Skip on API 16 Android devices

2015-06-05 Thread Siva Chandra
Author: sivachandra Date: Fri Jun 5 14:54:49 2015 New Revision: 239183 URL: http://llvm.org/viewvc/llvm-project?rev=239183view=rev Log: [TestGdbRemoteAbort] Skip on API 16 Android devices Summary: This change also adds the infrastructure required to specify the API levels for which tests should

[Lldb-commits] [lldb] r238039 - [TestRaise] Skip the SIGRTMIN test on Android.

2015-05-22 Thread Siva Chandra
Author: sivachandra Date: Fri May 22 14:00:33 2015 New Revision: 238039 URL: http://llvm.org/viewvc/llvm-project?rev=238039view=rev Log: [TestRaise] Skip the SIGRTMIN test on Android. Summary: Running kill -l on nexus player (i386) device results in this: 1HUP Hangup

[Lldb-commits] [lldb] r237010 - [watch set tests] Use default test case executable names.

2015-05-11 Thread Siva Chandra
Author: sivachandra Date: Mon May 11 13:49:59 2015 New Revision: 237010 URL: http://llvm.org/viewvc/llvm-project?rev=237010view=rev Log: [watch set tests] Use default test case executable names. Summary: This change similar to r236783. Reviewers: chaoren Reviewed By: chaoren Subscribers:

[Lldb-commits] [lldb] r236800 - [TestEvents] Add a 'connected' state to include remote debugging.

2015-05-07 Thread Siva Chandra
Author: sivachandra Date: Thu May 7 19:43:28 2015 New Revision: 236800 URL: http://llvm.org/viewvc/llvm-project?rev=236800view=rev Log: [TestEvents] Add a 'connected' state to include remote debugging. Test Plan: dotest.py -p TestEvents Reviewers: vharron, chaoren Reviewed By: chaoren

[Lldb-commits] [lldb] r235947 - [TestProcessAttach] Decorate with expectedFailureLinux

2015-04-27 Thread Siva Chandra
Author: sivachandra Date: Mon Apr 27 18:56:23 2015 New Revision: 235947 URL: http://llvm.org/viewvc/llvm-project?rev=235947view=rev Log: [TestProcessAttach] Decorate with expectedFailureLinux Summary: Link to PR: llvm.org/pr23360 Test Plan: dotest.py -p TestProcessAttach Reviewers: sivachandra

[Lldb-commits] [lldb] r235036 - [TestRvalueReferences] Fix an expectation.

2015-04-15 Thread Siva Chandra
Author: sivachandra Date: Wed Apr 15 13:35:29 2015 New Revision: 235036 URL: http://llvm.org/viewvc/llvm-project?rev=235036view=rev Log: [TestRvalueReferences] Fix an expectation. Summary: If 'i' is an rvalue reference to an 'int', evaluating it with the 'expression' command will return an 'int'

Re: [Lldb-commits] [lldb] r234949 - MacOSX needs a space between $(ARCHFLAG) and $(ARCH) otherwise we try to call clang with -archx86_64 which doesn't work.

2015-04-14 Thread Siva Chandra
On Tue, Apr 14, 2015 at 3:08 PM, Greg Clayton gclay...@apple.com wrote: Author: gclayton Date: Tue Apr 14 17:08:17 2015 New Revision: 234949 URL: http://llvm.org/viewvc/llvm-project?rev=234949view=rev Log: MacOSX needs a space between $(ARCHFLAG) and $(ARCH) otherwise we try to call clang

Re: [Lldb-commits] [Diffusion] rL234178: We have an issue where if you use a C function right now that has no prototype…

2015-04-09 Thread Siva Chandra
to put them into concrete words. Thanks, Siva Chandra On Thu, Apr 9, 2015 at 11:09 AM, Tamas Berghammer tbergham...@google.com wrote: +sivachandra Siva is looking into this issue. The problem is that lldb looks for a mangled name _ZN3fooC1Ei while the object file (compiled by clang) contains

Re: [Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

2015-04-09 Thread Siva Chandra
On Thu, Apr 9, 2015 at 2:35 AM, Tamas Berghammer tbergham...@google.com wrote: Can you check that this change fix TestCallStdStringFunction with g++ on Linux x86_64? I think it is failing with this or with a closely related issue. Yes. This fixes that test as well.

[Lldb-commits] [lldb] r234527 - [ItaniumABILanguageRuntime] Remove an unneccesary 'typename' keyword.

2015-04-09 Thread Siva Chandra
Author: sivachandra Date: Thu Apr 9 14:51:56 2015 New Revision: 234527 URL: http://llvm.org/viewvc/llvm-project?rev=234527view=rev Log: [ItaniumABILanguageRuntime] Remove an unneccesary 'typename' keyword. Summary: This will get the windows bots going. Test Plan: Build LLDB on Windows.

Re: [Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

2015-04-09 Thread Siva Chandra
On Thu, Apr 9, 2015 at 3:03 AM, Zachary Turner ztur...@google.com wrote: By the way, seems this only fixes the case of std::string even though it will continue to exist for any type with an unnamed template parameter.. Certainly std::string is the most important example, but I just want to

Re: [Lldb-commits] [PATCH] [RenderScriptRuntime] Fix build after r234522.

2015-04-09 Thread Siva Chandra
Will commit this to get LLDB building again. http://reviews.llvm.org/D8933 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

Re: [Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

2015-04-07 Thread Siva Chandra
On Tue, Apr 7, 2015 at 10:33 AM, Sean Callanan scalla...@apple.com wrote: Siva, two things: the reason I prefer to have it return a vector is that we could have a variety of problems, e.g. missing “const” in the debug info, and I don’t want to have special-casing everywhere for each one.

Re: [Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

2015-04-07 Thread Siva Chandra
Modify according to suggestions from spyffe. http://reviews.llvm.org/D8846 Files: include/lldb/Target/CPPLanguageRuntime.h source/Expression/IRForTarget.cpp source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp

[Lldb-commits] [lldb] r234243 - Enable a test in TestSTL for GCC.

2015-04-06 Thread Siva Chandra
Author: sivachandra Date: Mon Apr 6 16:52:10 2015 New Revision: 234243 URL: http://llvm.org/viewvc/llvm-project?rev=234243view=rev Log: Enable a test in TestSTL for GCC. Summary: Remove @skipIfGcc from a test in TestSTL as that test passes with GCC now. Also, mark one of the dsym tests with

Re: [Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

2015-04-06 Thread Siva Chandra
On Mon, Apr 6, 2015 at 3:32 PM, Sean Callanan scalla...@apple.com wrote: I like this; we could have the CXXLanguageRuntime return a list of “candidate” remangled names if you can’t find a given one, and then try those. The function would have the signature size_t

Re: [Lldb-commits] [PATCH] [IRForTarget] Strenghten handling of alternate mangling.

2015-04-06 Thread Siva Chandra
Sorry for the follow up. Is it more meaningful this way: class CPPLanguageRuntime { public: ... virtual size_t GetAlternateManglings(const ConstString mangled, std::vectorConstString alternates) = 0; ... }; class ItaniumABILanguageRuntime : public

[Lldb-commits] [lldb] r233868 - Remove the unused m_ast_context member of ClangExpressionParser.

2015-04-01 Thread Siva Chandra
Author: sivachandra Date: Wed Apr 1 19:02:46 2015 New Revision: 233868 URL: http://llvm.org/viewvc/llvm-project?rev=233868view=rev Log: Remove the unused m_ast_context member of ClangExpressionParser. Test Plan: Build LLDB. Reviewers: spyffe Subscribers: lldb-commits Differential Revision:

[Lldb-commits] [lldb] r233382 - [TestMiExec] Fix the test for GCC after r233336.

2015-03-27 Thread Siva Chandra
Author: sivachandra Date: Fri Mar 27 11:00:51 2015 New Revision: 233382 URL: http://llvm.org/viewvc/llvm-project?rev=233382view=rev Log: [TestMiExec] Fix the test for GCC after r26. Test Plan: dotest.py -C gcc p TestMiExec Reviewers: vharron Subscribers: lldb-commits Differential

Re: [Lldb-commits] [PATCH] Fix type detection for 'char' when it is unsigned

2015-03-26 Thread Siva Chandra
Just a drive by comment: You mention causing several test failure. Does your patch fix them? If yes, then are they currently skipped or marked xfail? If yes again, you should probably enable them in this patch. At the very least, it will be helpful if you can give an example of a failing test.

Re: [Lldb-commits] [PATCH] [DWARF] Remove an unused arg to SymbolFileDWARF::ParseChildParameters.

2015-03-25 Thread Siva Chandra
REPOSITORY rL LLVM http://reviews.llvm.org/D8621 Files: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h Index: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h

[Lldb-commits] [lldb] r233098 - [DWARF] If linkages names are missing, use decl context to get qualified names.

2015-03-24 Thread Siva Chandra
Author: sivachandra Date: Tue Mar 24 13:32:27 2015 New Revision: 233098 URL: http://llvm.org/viewvc/llvm-project?rev=233098view=rev Log: [DWARF] If linkages names are missing, use decl context to get qualified names. Summary: This commit adds this alternate route only when parsing variable dies

Re: [Lldb-commits] [PATCH] Fix StdVBoolImplementation to handle large vectors

2015-03-24 Thread Siva Chandra
LGTM. Thanks for doing this. http://reviews.llvm.org/D8585 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] [DWARF] If linkages names are missing, use decl context to get qualified names.

2015-03-24 Thread Siva Chandra
Add a static method LanguageRuntime::LanguageIsCPlusPlus and use it. http://reviews.llvm.org/D8569 Files: include/lldb/Symbol/Variable.h include/lldb/Target/LanguageRuntime.h source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h

[Lldb-commits] [lldb] r233108 - [TestDataFormatterStdVector] s/-fstandalone-debug/-fno-limit-debug-info

2015-03-24 Thread Siva Chandra
Author: sivachandra Date: Tue Mar 24 15:27:38 2015 New Revision: 233108 URL: http://llvm.org/viewvc/llvm-project?rev=233108view=rev Log: [TestDataFormatterStdVector] s/-fstandalone-debug/-fno-limit-debug-info Test Plan: dotest.py -C clang|gcc -p TestDataFormatterStdVector Reviewers: vharron

[Lldb-commits] [PATCH] [DWARF] If linkages names are missing, use decl context to get qualified names.

2015-03-23 Thread Siva Chandra
Hi clayborg, This commit adds this alternate route only when parsing variable dies corresponding to global or static variables. The motivation for this is that GCC does not emit linkage names for functions and variables declared/defined in anonymous namespaces. Having this alternate route fixes

[Lldb-commits] [lldb] r232687 - Enable TestCallStdStringFunction for GCC.

2015-03-18 Thread Siva Chandra
Author: sivachandra Date: Wed Mar 18 18:02:28 2015 New Revision: 232687 URL: http://llvm.org/viewvc/llvm-project?rev=232687view=rev Log: Enable TestCallStdStringFunction for GCC. Test Plan: dotest.py -C gcc -p TestCallStdStringFunction Reviewers: vharron Subscribers: lldb-commits Differential

Re: [Lldb-commits] [PATCH] Enable TestCallStdStringFunction for GCC.

2015-03-18 Thread Siva Chandra
REPOSITORY rL LLVM http://reviews.llvm.org/D8426 Files: lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py Index: lldb/trunk/test/expression_command/call-function/TestCallStdStringFunction.py === ---

Re: [Lldb-commits] [PATCH] Implement formatter for std::vectorbool, ... of libstdc++ in Python.

2015-03-17 Thread Siva Chandra
Mention in the commit message that the removed c++ implementation of the formatter was not being used. http://reviews.llvm.org/D8390 Files: examples/synthetic/gnu_libstdcpp.py include/lldb/DataFormatters/CXXFormatterFunctions.h source/DataFormatters/LibStdcpp.cpp

[Lldb-commits] [lldb] r232552 - Enable TestDataFormatterStdIterator with GCC.

2015-03-17 Thread Siva Chandra
Author: sivachandra Date: Tue Mar 17 16:43:01 2015 New Revision: 232552 URL: http://llvm.org/viewvc/llvm-project?rev=232552view=rev Log: Enable TestDataFormatterStdIterator with GCC. Summary: This test now passes for Clang and GCC. I do not know why it was disabled for GCC with link to a bug

Re: [Lldb-commits] [PATCH] Implement formatter for std::vectorbool, ... of libstdc++ in Python.

2015-03-17 Thread Siva Chandra
Setting the Python changes in perspective: Though it appears in the diff as if I have added a formatter for std::vectornon-bool as well, I have only moved it into an implementation class StdVectorSynthProvider.StdVectorImplementation. What I have really added is the class

[Lldb-commits] [lldb] r232399 - Handle PyLong return values in LLDBSwigPython_CalculateNumChildren.

2015-03-16 Thread Siva Chandra
Author: sivachandra Date: Mon Mar 16 14:01:33 2015 New Revision: 232399 URL: http://llvm.org/viewvc/llvm-project?rev=232399view=rev Log: Handle PyLong return values in LLDBSwigPython_CalculateNumChildren. Summary: Also, change its return type to size_t to match the return types of its callers.

Re: [Lldb-commits] [PATCH] Skip TestDataFormatterStdMap on linux instead of xfailing.

2015-03-16 Thread Siva Chandra
REPOSITORY rL LLVM http://reviews.llvm.org/D8361 Files: lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py Index: lldb/trunk/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py

Re: [Lldb-commits] [lldb] r231310 - Introduce lldbassert(x)

2015-03-04 Thread Siva Chandra
On Wed, Mar 4, 2015 at 2:59 PM, Enrico Granata egran...@apple.com wrote: +#ifdef LLDB_CONFIGURATION_DEBUG +#define lldbassert(x) assert(x) +#else +#define lldbassert(x) lldb_private::lldb_assert(x, #x, __FUNCTION__, __FILE__, __LINE__) +#endif Why should we have this ifdef? As in, why

[Lldb-commits] [PATCH] Fix TestStubSetSID after unification in to a single lldb-server binary.

2015-02-20 Thread Siva Chandra
Hi flackr, ovyalov, lldb-server needs an explicit 'g' or 'p' argument now. Since lldb-server is started as a gdbserver in this test, 'g' should be passed to it explicitly. http://reviews.llvm.org/D7801 Files: test/tools/lldb-gdbserver/commandline/TestStubSetSID.py Index:

Re: [Lldb-commits] [PATCH] Move argument globbing to Target::Launch from Platform::LaunchProcess.

2015-02-19 Thread Siva Chandra
Per the current design, the globbing feature will not work for remote debugging. Enrico has mentioned that he is working on the generalizing this feature. Until then, I do not see any harm in putting this in. Will commit shortly. http://reviews.llvm.org/D7743 EMAIL PREFERENCES

Re: [Lldb-commits] [PATCH] Clear should reset error to invalid instead of generic

2015-01-21 Thread Siva Chandra
Comment at: source/Core/Error.cpp:149 @@ -148,3 +148,3 @@ m_code = 0; -m_type = eErrorTypeGeneric; +m_type = eErrorTypeInvalid; m_string.clear(); Drive by comment: While I do not know if this OK or not, you should explain why this change is

Re: [Lldb-commits] [PATCH] [TestInferiorAssert] Differentiate DWARF and DSYM tests with suffixes.

2015-01-09 Thread Siva Chandra
This is probably an obvious commit. Will wait for a day, just in case. http://reviews.llvm.org/D6907 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

[Lldb-commits] [PATCH] Make array symbol reading resilient to incomplete DWARF.

2014-12-29 Thread Siva Chandra
Hi emaste, clayborg, GCC emits DW_TAG_subrange_type for static member arrays, but with no attributes. This in turn results in wrong type/value of the array when printing with 'target variable array var name'. This patch fixes this so that the array value is printed in this format: (element

Re: [Lldb-commits] [PATCH] Substitute 'cc' with 'c++' when compiling C++ test files.

2014-12-19 Thread Siva Chandra
Closing this as Shawn had already committted this for me. http://reviews.llvm.org/D6199 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu

[Lldb-commits] [PATCH] Donot use -std=libstdc++ option if $(CC)=cc.

2014-11-11 Thread Siva Chandra
Hi emaste, After D6199 (http://reviews.llvm.org/D6199) landed, this test is erroring out because of incompatible -std=libstdc++ when building on stock Ubuntu. http://reviews.llvm.org/D6218 Files: test/functionalities/data-formatter/data-formatter-skip-summary/Makefile Index:

Re: [Lldb-commits] [PATCH] Substitute 'cc' with 'c++' when compiling C++ test files.

2014-11-10 Thread Siva Chandra
Does the LGTM from the previous version still stand? http://reviews.llvm.org/D6199 ___ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] Fix compilation of DataFormatters/StringPrinter.cpp with GCC.

2014-11-04 Thread Siva Chandra
Hi enrico, GCC apparently does not like template specializations with namespace qualifiers such as this: template bool namespace1::namespace2::funcName...() { ... } GCC ToT also errors out with such namespace qualification of explicit template specializations. I have removed such a usage