Re: [Lldb-commits] [PATCH] D16334: Fix TestSignedTypes.py by removing a bogus step-over

2016-01-21 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D16334#331428, @zturner wrote: > In http://reviews.llvm.org/D16334#331420, @tberghammer wrote: > > > In http://reviews.llvm.org/D16334#331368, @zturner wrote: > > > > > I don't know, I still disagree. If something in step-over breaks, I >

Re: [Lldb-commits] [PATCH] D16415: Call CalculateSymbolSizes in ObjectFilePECOFF::GetSymtab

2016-01-21 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. Looks good to me and if Apple using this code then I am pretty sure my CL break them as well. Having 0 size symbols around will cause a lot of issue around LLDB. http://reviews.llvm.org/D16415 ___ lldb-commits mailing

Re: [Lldb-commits] [PATCH] D16627: Add support to detect arm hard float ABI based binaries for ABISysV_arm

2016-01-27 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good with a few nits inline Comment at: source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:418 @@ +417,3 @@ +bool +ABISysV_arm::IsArmHardFloat (Thread *thread) const

Re: [Lldb-commits] [lldb] r258930 - Decorarte TestInferiorAssert xfails on AArch64 Linux

2016-01-27 Thread Tamas Berghammer via lldb-commits
Hi Omair, Can you send me some logs about the failure you see for this test both on arm and aarch64 Linux? The test is passing reliably on android both for arm and aarch64 so I would like to understand what is the difference. Thanks, Tamas On Wed, Jan 27, 2016 at 2:01 PM Omair Javaid via lldb-co

Re: [Lldb-commits] [lldb] r258969 - Resubmit r258759 with proper unicode handling.

2016-01-27 Thread Tamas Berghammer via lldb-commits
Hi Zach, I think this CL (or one of your other recent related CL) caused some regression on the Linux builder. You can see the failed build here: http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/10736 Can you take a look (if you need help or you think it isn't caused by one

[Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-01-28 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: zturner, tfiala. tberghammer added a subscriber: lldb-commits. Re-submit rL258759: Write the session log file in UTF-8. Previously we were writing in the default encoding, which depends on the operating system and is not guaranteed t

Re: [Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-01-28 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. I know that this version is not the cleanest implementation but I think this is a very robust because we don't depend on the system encoding anywhere. Please gave it a try and feel free to commit it if if works. http://reviews.llvm.org/D16680 ___

Re: [Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-01-28 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. I am more worried about Windows and python3 and I don't think we have any build bot running the tests on Windows. I don't really know what is the original issue this commit try to address so I plan to wait until Zachary can check it out (the current ToT works on Lin

Re: [Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-01-28 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. I don't think using unicode strings everywhere is a good idea because when we compare a string coming from the SB API with a string literal we don't want to do a lot of conversion. Also I think enforcing all string literals to be unicode is something what will break

Re: [Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-01-28 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. I converted the strings it was complaining about but I haven't managed to get the traceback printing working without converting the data to utf-8 manually. We are using traceback.format_exception to collect the stack trace what returns a string, then we store it in

Re: [Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-01-28 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. The traceback calculation is done inside unittest2 so I think we shouldn't change it and we don't have access to the session variable either. http://reviews.llvm.org/D16680 ___ lldb-commits mailing list lldb-commits@lis

Re: [Lldb-commits] [PATCH] D16767: Fix single-stepping onto a breakpoint

2016-02-01 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks reasonable but should we merge TestSingleStepOntoBreakpoint.py and TestConsecutiveBreakpoints.py? I think they have quite a bit of code in common. http://reviews.llvm.org/D167

[Lldb-commits] [PATCH] D16769: [NFC] Cleanup RangeMap.h

2016-02-01 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: clayborg, labath. tberghammer added a subscriber: lldb-commits. [NFC] Cleanup RangeMap.h The file contained very similar 4 implementation of the same data structure with a lot of duplicated code and some minor API differences. This C

[Lldb-commits] [PATCH] D16772: Fix single stepping over the IT instruction

2016-02-01 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: omjavaid, clayborg. tberghammer added a subscriber: lldb-commits. Herald added a subscriber: aemerson. Fix single stepping over the IT instruction The ARM instruction emulator had 2 bugs related to the handling of the IT instruction

Re: [Lldb-commits] [PATCH] D16627: Add support to detect arm hard float ABI based binaries for ABISysV_arm

2016-02-02 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. Looks good http://reviews.llvm.org/D16627 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Re: [Lldb-commits] [PATCH] D16772: Fix single stepping over the IT instruction

2016-02-02 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D16772#340950, @clayborg wrote: > Looks good. > > A related comment about IT instructions. You need to be careful when software > single stepping through instructions that are in the middle of an ITSTATE > block. You can NOT use a 16 bit i

Re: [Lldb-commits] [PATCH] D16772: Fix single stepping over the IT instruction

2016-02-02 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL259509: Fix single stepping over the IT instruction (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D16772?vs=46542&id=46647#toc Repository: rL LLVM http://reviews.llvm.o

[Lldb-commits] [lldb] r259509 - Fix single stepping over the IT instruction

2016-02-02 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Feb 2 08:32:11 2016 New Revision: 259509 URL: http://llvm.org/viewvc/llvm-project?rev=259509&view=rev Log: Fix single stepping over the IT instruction The ARM instruction emulator had 2 bugs related to the handling of the IT instruction causing an error in single st

Re: [Lldb-commits] [PATCH] D16769: [NFC] Cleanup RangeMap.h

2016-02-02 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D16769#340936, @clayborg wrote: > Looks fine. A few things I don't like, but I can live with: > > - Making constructors appear all on one line does save space, but it means > you can't debug very well as stepping into these constructors wil

[Lldb-commits] [PATCH] D16814: Fix handling of the arm IT instruction in the unwinder

2016-02-02 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: omjavaid, jasonmolenda, clayborg. tberghammer added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer, rengolin, aemerson. Fix handling of the arm IT instruction in the unwinder The IT instruction can speci

[Lldb-commits] [lldb] r259538 - [NFC] Cleanup RangeMap.h

2016-02-02 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Feb 2 12:18:13 2016 New Revision: 259538 URL: http://llvm.org/viewvc/llvm-project?rev=259538&view=rev Log: [NFC] Cleanup RangeMap.h The file contained very similar 4 implementation of the same data structure with a lot of duplicated code and some minor API differenc

Re: [Lldb-commits] [PATCH] D16769: [NFC] Cleanup RangeMap.h

2016-02-02 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL259538: [NFC] Cleanup RangeMap.h (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D16769?vs=46531&id=46673#toc Repository: rL LLVM http://reviews.llvm.org/D16769 Files:

Re: [Lldb-commits] [PATCH] D16814: Fix handling of the arm IT instruction in the unwinder

2016-02-02 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. UINT32_MAX is a kind of a random value what is most likely won't be used on any architecture as a condition code (I can't imagine having so much different condition flags) and my current intention is to map the unconditional value to into it as it is already done on

Re: [Lldb-commits] [PATCH] D16814: Fix handling of the arm IT instruction in the unwinder

2016-02-03 Thread Tamas Berghammer via lldb-commits
tberghammer updated this revision to Diff 46764. tberghammer added a comment. Create a typedef for the condition type and a static const value for the unconditional condition. http://reviews.llvm.org/D16814 Files: include/lldb/Core/EmulateInstruction.h include/lldb/Symbol/UnwindPlan.h so

Re: [Lldb-commits] [PATCH] D16830: Move some android platform functions to lldbplatformutil

2016-02-03 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. Looks reasonable and I agree with Pavel in the idea of moving the android related utility functions into their own file for better separation Comment at: packages/Python/lldbsuite/test/lldbplatformutil.py:73-81 @@

[Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-03 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: clayborg, omjavaid. tberghammer added a subscriber: lldb-commits. Herald added subscribers: rengolin, aemerson. Use BKPT instead of UDF for arm/thumb breakpoints The UDF instruction is deprecated in armv7 and in case of thumb2 instru

Re: [Lldb-commits] [PATCH] D16814: Fix handling of the arm IT instruction in the unwinder

2016-02-04 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: include/lldb/Core/EmulateInstruction.h:390 @@ +389,3 @@ +typedef uint32_t InstructionCondition; +static const InstructionCondition UnconditionalCondition = UINT32_MAX; + clayborg wrote: > It is nice to tell wh

Re: [Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-04 Thread Tamas Berghammer via lldb-commits
tberghammer updated this revision to Diff 46899. tberghammer added a comment. Update breakpoint opcodes based on review http://reviews.llvm.org/D16853 Files: source/Plugins/Platform/Linux/PlatformLinux.cpp source/Plugins/Process/Linux/NativeProcessLinux.cpp Index: source/Plugins/Process/Li

Re: [Lldb-commits] [PATCH] D16872: Move some of the common decorators to decorators.py

2016-02-04 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. Looks reasonable Comment at: packages/Python/lldbsuite/test/lldbtest.py:672-682 @@ -768,1 +671,13 @@ + +def skipUnlessListedRemote(remote_list=None): +def is_remote_unlisted(self): +if remote_list and l

Re: [Lldb-commits] [PATCH] D16975: Handle floating-point type homogeneous aggregate return values in ABISysV_arm

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:581-591 @@ -580,10 +580,13 @@ { size_t byte_size = compiler_type.GetByteSize(&thread); if (byte_size <= 4) { RegisterValue r0_reg_value;

Re: [Lldb-commits] [PATCH] D16936: Remove expectedFailureWindows decorator

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer added a subscriber: tberghammer. tberghammer added a comment. In http://reviews.llvm.org/D16936#346182, @labath wrote: > I agree with the idea in general, but I wanted to ask what is your plan with > the android decorators: For them we use the additional `api_levels` flag, > which d

Re: [Lldb-commits] [PATCH] D16975: Handle floating-point type homogeneous aggregate return values in ABISysV_arm

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:597 @@ +596,3 @@ +{ +if (base_type.IsFloatingPointType(float_count, is_complex)) +{ omjavaid wrote: > tberghammer wro

Re: [Lldb-commits] [PATCH] D16975: Handle floating-point type homogeneous aggregate return values in ABISysV_arm

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:592 @@ +591,3 @@ +{ +if (!is_complex) +{ Please check that "float_count == 1" as well (we don't want to use this code

Re: [Lldb-commits] [PATCH] D16936: Remove expectedFailureWindows decorator

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D16936#346408, @zturner wrote: > In http://reviews.llvm.org/D16936#346293, @tberghammer wrote: > > > In http://reviews.llvm.org/D16936#346182, @labath wrote: > > > > > I agree with the idea in general, but I wanted to ask what is your plan

Re: [Lldb-commits] [PATCH] D16936: Remove expectedFailureWindows decorator

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D16936#346536, @tfiala wrote: > > I agree but I also might consider going further where the only thing you > > can specify is a function and we remove all arguments. Then we implement > > functions like architectureMatches, targetOsMatches

[Lldb-commits] [PATCH] D16996: Improve the handling of missing elf symtab and missing symbol sizes

2016-02-08 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added a reviewer: clayborg. tberghammer added a subscriber: lldb-commits. Improve the handling of missing elf symtab and missing symbol sizes * Generate artificial symbol names from eh_fame during symbol parsing so these symbols are already present

[Lldb-commits] [lldb] r260216 - Fix a typo in an xfail decorator in TestExprsChar

2016-02-09 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Feb 9 04:10:42 2016 New Revision: 260216 URL: http://llvm.org/viewvc/llvm-project?rev=260216&view=rev Log: Fix a typo in an xfail decorator in TestExprsChar Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py Modified:

Re: [Lldb-commits] [PATCH] D16936: Remove expectedFailureWindows decorator

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. My main concern is that we have a lot of named argument for skipIf/expectFailure and I expect it to increase even further as we support more and more configuration. In my opinion we can have some functional style solution as readable as the current solution with gre

Re: [Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D16853#347120, @omjavaid wrote: > GDB doesnt use bkpt instruction for user debugging for the reason that it > interferes with jtag debug probes. I am not sure if LLDB will be ever used > with a jtag probe in near future but still a jtag pr

Re: [Lldb-commits] [PATCH] D16814: Fix handling of the arm IT instruction in the unwinder

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. Jason: Can you take at the change in the unwinding logic? Comment at: source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp:13653 @@ -13656,2 +13652,3 @@ const uint32_t cond = CurrentCond (m_opcode.GetOpcode32()); -return cond != 0xe && c

Re: [Lldb-commits] [PATCH] D16680: Re-submit rL258759: Write the session log file in UTF-8.

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer abandoned this revision. tberghammer added a comment. The change was submitted with a different CL http://reviews.llvm.org/D16680 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/ll

Re: [Lldb-commits] [PATCH] D16996: Improve the handling of missing elf symtab and missing symbol sizes

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer updated this revision to Diff 47314. http://reviews.llvm.org/D16996 Files: include/lldb/Core/RangeMap.h include/lldb/Symbol/DWARFCallFrameInfo.h include/lldb/Symbol/ObjectFile.h include/lldb/Symbol/Symtab.h source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp source/Plugins/Obj

Re: [Lldb-commits] [PATCH] D16996: Improve the handling of missing elf symtab and missing symbol sizes

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer added inline comments. Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:2939 @@ +2938,3 @@ +symbol_id, // Symbol table index. +symbol_name, // Symbol name. +false, //

[Lldb-commits] [PATCH] D17030: Add new option to lldb-server to display its version

2016-02-09 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added a reviewer: labath. tberghammer added a subscriber: lldb-commits. Add new option to lldb-server to display its version http://reviews.llvm.org/D17030 Files: tools/lldb-server/lldb-server.cpp Index: tools/lldb-server/lldb-server.cpp

[Lldb-commits] [lldb] r260366 - Add new option to lldb-server to display its version

2016-02-10 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Feb 10 04:35:48 2016 New Revision: 260366 URL: http://llvm.org/viewvc/llvm-project?rev=260366&view=rev Log: Add new option to lldb-server to display its version Modified: lldb/trunk/tools/lldb-server/lldb-server.cpp Modified: lldb/trunk/tools/lldb-server/lldb-se

Re: [Lldb-commits] [PATCH] D17030: Add new option to lldb-server to display its version

2016-02-10 Thread Tamas Berghammer via lldb-commits
tberghammer closed this revision. tberghammer added a comment. Comitted as http://reviews.llvm.org/rL260366 http://reviews.llvm.org/D17030 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-

Re: [Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-10 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL260367: Use BKPT instead of UDF for arm/thumb breakpoints (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D16853?vs=46899&id=47431#toc Repository: rL LLVM http://reviews.

[Lldb-commits] [lldb] r260368 - Fix handling of the arm IT instruction in the unwinder

2016-02-10 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Feb 10 04:42:13 2016 New Revision: 260368 URL: http://llvm.org/viewvc/llvm-project?rev=260368&view=rev Log: Fix handling of the arm IT instruction in the unwinder The IT instruction can specify condition code for up to 4 consecutive instruction and it is used quite o

[Lldb-commits] [lldb] r260367 - Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-10 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Feb 10 04:42:00 2016 New Revision: 260367 URL: http://llvm.org/viewvc/llvm-project?rev=260367&view=rev Log: Use BKPT instead of UDF for arm/thumb breakpoints The UDF instruction is deprecated in armv7 and in case of thumb2 instructions set it don't work well together

Re: [Lldb-commits] [PATCH] D16814: Fix handling of the arm IT instruction in the unwinder

2016-02-10 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL260368: Fix handling of the arm IT instruction in the unwinder (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D16814?vs=46764&id=47432#toc Repository: rL LLVM http://rev

[Lldb-commits] [lldb] r260369 - Improve the handling of missing elf symtab and missing symbol sizes

2016-02-10 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Feb 10 04:43:34 2016 New Revision: 260369 URL: http://llvm.org/viewvc/llvm-project?rev=260369&view=rev Log: Improve the handling of missing elf symtab and missing symbol sizes * Generate artificial symbol names from eh_fame during symbol parsing so these symbols ar

Re: [Lldb-commits] [PATCH] D16996: Improve the handling of missing elf symtab and missing symbol sizes

2016-02-10 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL260369: Improve the handling of missing elf symtab and missing symbol sizes (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D16996?vs=47314&id=47433#toc Repository: rL LLV

[Lldb-commits] [lldb] r260377 - Revert "Improve the handling of missing elf symtab and missing symbol sizes"

2016-02-10 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Feb 10 06:10:58 2016 New Revision: 260377 URL: http://llvm.org/viewvc/llvm-project?rev=260377&view=rev Log: Revert "Improve the handling of missing elf symtab and missing symbol sizes" This reverts commit 252dda67782f2cbf838e375bce21ed4191f6d9ce. The commit caused s

Re: [Lldb-commits] [PATCH] D16975: Handle floating-point type homogeneous aggregate return values in ABISysV_arm

2016-02-11 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. Can you take a look for the 2 marked comment? I think you handling those error scenarios incorrectly Comment at: source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp:592 @@ +591,3 @@ +if (float_count == 1 && !is_complex) +

Re: [Lldb-commits] [PATCH] D16975: Handle floating-point type homogeneous aggregate return values in ABISysV_arm

2016-02-11 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good, thank you for fixing it http://reviews.llvm.org/D16975 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lis

Re: [Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-16 Thread Tamas Berghammer via lldb-commits
Hi Ewan, Can you give me some instruction about how can I reproduce the issue on a Nexus 6? (If you can't gave the information out then the disassembly of the offending function and the fault address might gave me some hint as well) A SIGBUS error looks a bit strange for me but my best guess is t

Re: [Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

2016-02-16 Thread Tamas Berghammer via lldb-commits
tberghammer added a subscriber: tberghammer. tberghammer added a comment. Hi Ewan, Can you give me some instruction about how can I reproduce the issue on a Nexus 6? (If you can't gave the information out then the disassembly of the offending function and the fault address might gave me some hint

[Lldb-commits] [lldb] r260969 - Revert "Use BKPT instead of UDF for arm/thumb breakpoints"

2016-02-16 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Feb 16 09:14:36 2016 New Revision: 260969 URL: http://llvm.org/viewvc/llvm-project?rev=260969&view=rev Log: Revert "Use BKPT instead of UDF for arm/thumb breakpoints" This reverts commit 293c18e067d663e0fe93e6f3d800c2a4bfada2b0. The BKPT instruction generates SIGBUS

[Lldb-commits] [PATCH] D17295: Stack unwinding emulation: handle adjustment of FP

2016-02-16 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, jasonmolenda, clayborg. tberghammer added a subscriber: lldb-commits. Stack unwinding emulation: handle adjustment of FP This change is improving the instruction emulation based unwinding to handle when the frame pointer is

[Lldb-commits] [lldb] r261205 - Improve the handling of missing elf symtab and missing symbol sizes

2016-02-18 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Thu Feb 18 05:12:18 2016 New Revision: 261205 URL: http://llvm.org/viewvc/llvm-project?rev=261205&view=rev Log: Improve the handling of missing elf symtab and missing symbol sizes * Generate artificial symbol names from eh_fame during symbol parsing so these symbols ar

[Lldb-commits] [lldb] r261318 - Stack unwinding emulation: handle adjustment of FP

2016-02-19 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Feb 19 04:59:25 2016 New Revision: 261318 URL: http://llvm.org/viewvc/llvm-project?rev=261318&view=rev Log: Stack unwinding emulation: handle adjustment of FP This change is improving the instruction emulation based unwinding to handle when the frame pointer is adjus

Re: [Lldb-commits] [PATCH] D17295: Stack unwinding emulation: handle adjustment of FP

2016-02-19 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261318: Stack unwinding emulation: handle adjustment of FP (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17295?vs=48078&id=48472#toc Repository: rL LLVM http://reviews

[Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-19 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, clay.chang. tberghammer added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer. Handle the case when a variable is only valid in part of the enclosing scope DWARF stores this information in the DW

[Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

2016-02-19 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, clayborg. tberghammer added a subscriber: lldb-commits. Add support for handling absolute symbols in ELF Most address represented in lldb as section plus offset and handling of absolute addresses is problematic in several lo

Re: [Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-22 Thread Tamas Berghammer via lldb-commits
tberghammer requested a review of this revision. tberghammer added a comment. There is a (minor) difference between a variable being out of scope and having no location information. Being out of scope means that the variable hasn't declared yet while having no location information means that the

Re: [Lldb-commits] [PATCH] D17510: [linux] Remove all traces of signalfd(2)

2016-02-22 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. LGTM http://reviews.llvm.org/D17510 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] r261630 - XFAIL TestInlines for Linux with gcc

2016-02-23 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Feb 23 05:35:38 2016 New Revision: 261630 URL: http://llvm.org/viewvc/llvm-project?rev=261630&view=rev Log: XFAIL TestInlines for Linux with gcc Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/inlines/TestInlines.py Modified: lldb/trunk/packages/Pyth

Re: [Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-23 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. We have 2 (+1) independent dimension here: 1. List of ranges where the variable is in scope 2. List of ranges where the variable is available 3. Format of the location list (it is more of an implementation details because of a format change in dwarf5) To represent a

Re: [Lldb-commits] [PATCH] D17535: [LLDB][MIPS] Single step atomic sequences

2016-02-23 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. I am not sure I agree with the following starting point of the CL (I know about the similar functionality in GDB) and even if we agree in it I think you are handling a very small fraction of the problems. > LLDB should treat all instructions in the atomic sequence a

Re: [Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-23 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. I can live with that but I still think the scope information belongs to the variable and not to the DWARF expression representing it's location. As far as I see keeping the information inside the variable have lower memory impact (assuming an empty list means full s

Re: [Lldb-commits] [PATCH] D17535: [LLDB][MIPS] Single step atomic sequences

2016-02-24 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D17535#360519, @bhushan wrote: > In MIPS, we can not put a breakpoint in middle of an atomic sequence. > If we do so (and that breakpoint is hit) then continuing from breakpoint > address will cause "SC" to fail due to a breakpoint excepti

Re: [Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-24 Thread Tamas Berghammer via lldb-commits
tberghammer updated this revision to Diff 48908. tberghammer added a comment. I added the memory optimization to represent the case when no DW_AT_start_scope is specified as an empty range map. This way the memory impact for C/C++ will be only an empty std::vector per variable. Regarding the lo

Re: [Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

2016-02-24 Thread Tamas Berghammer via lldb-commits
tberghammer updated this revision to Diff 48947. tberghammer marked an inline comment as done. http://reviews.llvm.org/D17450 Files: include/lldb/lldb-enumerations.h source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp source/Plugins/ObjectFile/Mac

Re: [Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

2016-02-24 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. In http://reviews.llvm.org/D17450#357477, @clayborg wrote: > We should probably make it such that if a section has the type > eSectionTypeAbsoluteAddress that we do the right thing inside the following > functions: > Section::GetLoadBaseAddress(...); > Section::Sl

[Lldb-commits] [lldb] r261858 - Handle the case when a variable is only valid in part of the enclosing scope

2016-02-25 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Thu Feb 25 06:23:37 2016 New Revision: 261858 URL: http://llvm.org/viewvc/llvm-project?rev=261858&view=rev Log: Handle the case when a variable is only valid in part of the enclosing scope DWARF stores this information in the DW_AT_start_scope attribute. This CL add supp

Re: [Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-25 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261858: Handle the case when a variable is only valid in part of the enclosing scope (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17449?vs=48908&id=49034#toc Repository:

[Lldb-commits] [lldb] r261859 - Add support for handling absolute symbols in ELF

2016-02-25 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Thu Feb 25 06:23:43 2016 New Revision: 261859 URL: http://llvm.org/viewvc/llvm-project?rev=261859&view=rev Log: Add support for handling absolute symbols in ELF Most address represented in lldb as section plus offset and handling of absolute addresses is problematic in s

Re: [Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

2016-02-25 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261859: Add support for handling absolute symbols in ELF (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17450?vs=48947&id=49036#toc Repository: rL LLVM http://reviews.l

[Lldb-commits] [PATCH] D17604: Add support for DW_OP_push_object_address in dwarf expressions

2016-02-25 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, clayborg. tberghammer added a subscriber: lldb-commits. Add support for DW_OP_push_object_address in dwarf expressions Additionally fix the type of some dwarf expression where we had a confusion between scalar and load addr

[Lldb-commits] [PATCH] D17616: Add a set of new plugins to handle Java debugging

2016-02-25 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, clayborg. tberghammer added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer. Add a set of new plugins to handle Java debugging The purpose of these plugins is to make LLDB capable of debugging ja

Re: [Lldb-commits] [PATCH] D17616: Add a set of new plugins to handle Java debugging

2016-02-26 Thread Tamas Berghammer via lldb-commits
tberghammer marked 2 inline comments as done. Comment at: source/Plugins/Language/Java/JavaLanguage.cpp:81 @@ +80,3 @@ +HardcodedFormatters::HardcodedSummaryFinder +JavaLanguage::GetHardcodedSummaries() +{ granata.enrico wrote: > Is there any reason to use hardcod

[Lldb-commits] [lldb] r262014 - Add support for DW_OP_push_object_address in dwarf expressions

2016-02-26 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Feb 26 08:21:10 2016 New Revision: 262014 URL: http://llvm.org/viewvc/llvm-project?rev=262014&view=rev Log: Add support for DW_OP_push_object_address in dwarf expressions Additionally fix the type of some dwarf expression where we had a confusion between scalar and l

Re: [Lldb-commits] [PATCH] D17604: Add support for DW_OP_push_object_address in dwarf expressions

2016-02-26 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL262014: Add support for DW_OP_push_object_address in dwarf expressions (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17604?vs=49047&id=49179#toc Repository: rL LLVM ht

[Lldb-commits] [lldb] r262016 - Fix address class lookup for absolute symbols

2016-02-26 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Feb 26 08:21:27 2016 New Revision: 262016 URL: http://llvm.org/viewvc/llvm-project?rev=262016&view=rev Log: Fix address class lookup for absolute symbols Modified: lldb/trunk/source/Symbol/ObjectFile.cpp Modified: lldb/trunk/source/Symbol/ObjectFile.cpp URL: ht

Re: [Lldb-commits] [PATCH] D17616: Add a set of new plugins to handle Java debugging

2016-02-26 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. tberghammer marked 2 inline comments as done. Closed by commit rL262015: Add a set of new plugins to handle Java debugging (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17616?vs=49089&id=491

[Lldb-commits] [lldb] r262023 - Revert part of rL262014 as it caused issues on gcc-i386

2016-02-26 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Feb 26 09:33:32 2016 New Revision: 262023 URL: http://llvm.org/viewvc/llvm-project?rev=262023&view=rev Log: Revert part of rL262014 as it caused issues on gcc-i386 Modified: lldb/trunk/source/Expression/DWARFExpression.cpp Modified: lldb/trunk/source/Expression/

[Lldb-commits] [lldb] r262028 - Add new java plugin files to the xcode project

2016-02-26 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Feb 26 09:47:35 2016 New Revision: 262028 URL: http://llvm.org/viewvc/llvm-project?rev=262028&view=rev Log: Add new java plugin files to the xcode project Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL

Re: [Lldb-commits] [PATCH] D17708: Add/Improve complex, vector, aggregate types handling for SysV ARM (hard/soft) ABI.

2016-02-29 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good (it would be nice if we can split GetReturnValueObjectImpl to multiple function as it starts to become pretty big and hard to read but I don't think we shouldn't do it as

Re: [Lldb-commits] [PATCH] D17716: Add complex and aggregate with vector types return value test cases

2016-02-29 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good but please verify that the new test is passes on other architectures and XFAIL the test accordingly. If you have to XFAIL something then I would prefer to split this test

[Lldb-commits] [lldb] r262339 - DWARFExpression: Don't resolve load address in DW_OP_plus

2016-03-01 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Mar 1 09:01:05 2016 New Revision: 262339 URL: http://llvm.org/viewvc/llvm-project?rev=262339&view=rev Log: DWARFExpression: Don't resolve load address in DW_OP_plus If we have a TargetLoadAddress on the top of the DWARF stack then a DW_OP_plus or a DW_OP_plus_ucons

[Lldb-commits] [lldb] r262482 - Upgrade the arm/thumb architecture used by the disassembler

2016-03-02 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Wed Mar 2 06:42:43 2016 New Revision: 262482 URL: http://llvm.org/viewvc/llvm-project?rev=262482&view=rev Log: Upgrade the arm/thumb architecture used by the disassembler Previously we were using thumbv7 and armv8.1a what ended up showing a few undefined instruction whe

[Lldb-commits] [PATCH] D17848: Add reverse file remapping for breakpoint set

2016-03-03 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: labath, clayborg. tberghammer added a subscriber: lldb-commits. Add reverse file remapping for breakpoint set LLDB can remap a source file to a new directory based on the "target.sorce-map" to handle the usecase when the source code

Re: [Lldb-commits] [PATCH] D17848: Add reverse file remapping for breakpoint set

2016-03-04 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. It is a good point. I don't think displaying incorrect path for a breakpoint is a big issue so I don't plan to address it now but we should do it at some point. http://reviews.llvm.org/D17848 ___ lldb-commits mailing li

Re: [Lldb-commits] [PATCH] D17848: Add reverse file remapping for breakpoint set

2016-03-04 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL262711: Add reverse file remapping for breakpoint set (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17848?vs=49732&id=49812#toc Repository: rL LLVM http://reviews.llvm

[Lldb-commits] [lldb] r262711 - Add reverse file remapping for breakpoint set

2016-03-04 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Mar 4 05:26:44 2016 New Revision: 262711 URL: http://llvm.org/viewvc/llvm-project?rev=262711&view=rev Log: Add reverse file remapping for breakpoint set LLDB can remap a source file to a new directory based on the "target.sorce-map" to handle the usecase when the so

[Lldb-commits] [lldb] r262923 - Try to fix windows build after rL262863

2016-03-08 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Mar 8 05:43:56 2016 New Revision: 262923 URL: http://llvm.org/viewvc/llvm-project?rev=262923&view=rev Log: Try to fix windows build after rL262863 Modified: lldb/trunk/source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp Modified: lldb/trunk/source/P

[Lldb-commits] [lldb] r262925 - Fix log in Broadcaster causing a crash

2016-03-08 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Tue Mar 8 07:33:14 2016 New Revision: 262925 URL: http://llvm.org/viewvc/llvm-project?rev=262925&view=rev Log: Fix log in Broadcaster causing a crash Modified: lldb/trunk/source/Core/Broadcaster.cpp Modified: lldb/trunk/source/Core/Broadcaster.cpp URL: http://llvm

Re: [Lldb-commits] [PATCH] D18146: [test] Correctly retry connections on android targets

2016-03-14 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good http://reviews.llvm.org/D18146 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailm

Re: [Lldb-commits] [PATCH] D18481: Add argument to expectedFailureAll decorator to xfail for environment variables, and xfail tests for hard float abi and -mthumb on android arm

2016-03-29 Thread Tamas Berghammer via lldb-commits
tberghammer added a comment. You can pass extra compiler flags to the test suit with the -E option (haven't tested it). I would suggest to use that option and then xfail based on it (xfail if extra flags contain -foo). In long term I would prefer to not add a new option to expectedFailureAll bu

Re: [Lldb-commits] [PATCH] D18547: Fix infinite recursion in DWO file parsing

2016-03-29 Thread Tamas Berghammer via lldb-commits
tberghammer accepted this revision. tberghammer added a comment. This revision is now accepted and ready to land. Looks good Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h:334 @@ +333,3 @@ +virtual std::unique_ptr +GetDWOForCompileUnit(DWARFCompileUnit &dw

<    1   2   3   4   5   6   7   8   >