[Lldb-commits] [lldb] r343029 - Change the unwinder to not use a hard-coded limit on the

2018-09-25 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Sep 25 14:01:54 2018 New Revision: 343029 URL: http://llvm.org/viewvc/llvm-project?rev=343029&view=rev Log: Change the unwinder to not use a hard-coded limit on the max number of stack frames to backtrace, make it a setting, target.process.thread.max-backtrace-depth. Add

[Lldb-commits] [lldb] r344209 - Upstreaming the BridgeOS device support and the

2018-10-10 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Oct 10 17:28:35 2018 New Revision: 344209 URL: http://llvm.org/viewvc/llvm-project?rev=344209&view=rev Log: Upstreaming the BridgeOS device support and the LC_BUILD_VERSION load command handling - this commit is a combination of patches by Adrian Prantl and myself. llv

[Lldb-commits] [lldb] r344275 - Don't mark an LC_BUILD_VERSION as giving us a

2018-10-11 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Oct 11 11:37:53 2018 New Revision: 344275 URL: http://llvm.org/viewvc/llvm-project?rev=344275&view=rev Log: Don't mark an LC_BUILD_VERSION as giving us a correct version if it has a major verison 0. Modified: lldb/trunk/source/Plugins/ObjectFile/Mach-O/ObjectFileMa

[Lldb-commits] [lldb] r344277 - Fix this comment so it is consistent with all the others.

2018-10-11 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Oct 11 11:41:34 2018 New Revision: 344277 URL: http://llvm.org/viewvc/llvm-project?rev=344277&view=rev Log: Fix this comment so it is consistent with all the others. Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.cpp Modified: lldb/

[Lldb-commits] [lldb] r344323 - Remove references to source/Plugins/SymbolFile/NativePDB.

2018-10-11 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Oct 11 17:53:55 2018 New Revision: 344323 URL: http://llvm.org/viewvc/llvm-project?rev=344323&view=rev Log: Remove references to source/Plugins/SymbolFile/NativePDB. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbx

[Lldb-commits] [lldb] r344414 - Add NativePDB subdir again.

2018-10-12 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Oct 12 13:53:21 2018 New Revision: 344414 URL: http://llvm.org/viewvc/llvm-project?rev=344414&view=rev Log: Add NativePDB subdir again. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/vie

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Jason Molenda via lldb-commits
> On Oct 12, 2018, at 12:47 PM, Zachary Turner via lldb-commits > wrote: > > Resubmit "Add SymbolFileNativePDB plugin." > > This was originally reverted due to some test failures on > Linux. Those problems turned out to require several additional > patches to lld and clang in order to fix, w

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Jason Molenda via lldb-commits
Ah, mystery solved. The lit test specifies REQUIRES Darwin. > On Oct 12, 2018, at 3:22 PM, Jason Molenda wrote: > > > >> On Oct 12, 2018, at 12:47 PM, Zachary Turner via lldb-commits >> wrote: >> >> Resubmit "Add SymbolFileNativePDB plugin." >> >> This was originally reverted due to som

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Jason Molenda via lldb-commits
Adrian suggests that parseFileHeaders is returning an error and that needs to be cleared? > On Oct 12, 2018, at 3:27 PM, Jason Molenda wrote: > > Ah, mystery solved. The lit test specifies REQUIRES Darwin. > >> On Oct 12, 2018, at 3:22 PM, Jason Molenda wrote: >> >> >> >>> On Oct 12, 2

Re: [Lldb-commits] [lldb] r344429 - Try to fix some failures on MacOSX with the NativePDB patch.

2018-10-12 Thread Jason Molenda via lldb-commits
Yep, thanks! % bin/lldb-test symbols ../f.obj Module: ../f.obj Module ../f.obj 0x7fb795587320: ObjectFileMachO64, file = '../f.obj', triple = x86_64-apple-macosx10.14.0 SectID Type File Address Perm File Off. File Size Flags Section Name -

[Lldb-commits] [lldb] r344626 - Simplify LocateDSYMInVincinityOfExecutable by moving

2018-10-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 16 10:26:04 2018 New Revision: 344626 URL: http://llvm.org/viewvc/llvm-project?rev=344626&view=rev Log: Simplify LocateDSYMInVincinityOfExecutable by moving some redundant code into a separate function, LookForDsymNextToExecutablePath, and having that function also

[Lldb-commits] [lldb] r344628 - For a built & test bot, add an environment variable PLATFORM_SDK_DIRECTORY,

2018-10-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 16 10:31:33 2018 New Revision: 344628 URL: http://llvm.org/viewvc/llvm-project?rev=344628&view=rev Log: For a built & test bot, add an environment variable PLATFORM_SDK_DIRECTORY, which PlatformRemoteDarwinDevice::UpdateSDKDirectoryInfosIfNeeded which examine for any

[Lldb-commits] [lldb] r344633 - Don't run TestBreakpointIt.py on arm64 devices;

2018-10-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 16 11:11:17 2018 New Revision: 344633 URL: http://llvm.org/viewvc/llvm-project?rev=344633&view=rev Log: Don't run TestBreakpointIt.py on arm64 devices; it is armv7 specific. Modified: lldb/trunk/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.

[Lldb-commits] [lldb] r344635 - Tiny testsuite tweaks. Don't run the apple simulator

2018-10-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 16 11:14:30 2018 New Revision: 344635 URL: http://llvm.org/viewvc/llvm-project?rev=344635&view=rev Log: Tiny testsuite tweaks. Don't run the apple simulator tests when targetting a device. Add an include to safe-to-call-func to work around a modules issue with a c

[Lldb-commits] [lldb] r344636 - Revert r344626 while I address a testsuite failure from a bot.

2018-10-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 16 11:25:46 2018 New Revision: 344636 URL: http://llvm.org/viewvc/llvm-project?rev=344636&view=rev Log: Revert r344626 while I address a testsuite failure from a bot. Modified: lldb/trunk/source/Host/common/Symbols.cpp Modified: lldb/trunk/source/Host/common/S

[Lldb-commits] [lldb] r344646 - Fixed an issue that a bot found with my changes

2018-10-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 16 14:49:31 2018 New Revision: 344646 URL: http://llvm.org/viewvc/llvm-project?rev=344646&view=rev Log: Fixed an issue that a bot found with my changes in r344626 & recommitting. Original commit msg: Simplify LocateDSYMInVincinityOfExecutable by moving some redund

[Lldb-commits] [lldb] r345069 - Add UdtRecordCompleter.cpp.

2018-10-23 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 23 12:03:52 2018 New Revision: 345069 URL: http://llvm.org/viewvc/llvm-project?rev=345069&view=rev Log: Add UdtRecordCompleter.cpp. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/vie

[Lldb-commits] [lldb] r345106 - Support nwere versions of the Segger J-Link jtag board software.

2018-10-23 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Oct 23 16:45:56 2018 New Revision: 345106 URL: http://llvm.org/viewvc/llvm-project?rev=345106&view=rev Log: Support nwere versions of the Segger J-Link jtag board software. Add support in ProcessGDBRemote::GetGDBServerRegisterInfo for recognizing a generic "arm" architec

[Lldb-commits] [lldb] r345422 - Remove an early-return from Driver::ParseArgs that

2018-10-26 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Oct 26 12:40:18 2018 New Revision: 345422 URL: http://llvm.org/viewvc/llvm-project?rev=345422&view=rev Log: Remove an early-return from Driver::ParseArgs that was added as a part of D52604 / r343348. If the lldb driver is run without any arguments, .lldbinit file readi

[Lldb-commits] [lldb] r345912 - When no FileCheck binary is specified, look in the llvm/clang bin

2018-11-01 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Nov 1 16:41:05 2018 New Revision: 345912 URL: http://llvm.org/viewvc/llvm-project?rev=345912&view=rev Log: When no FileCheck binary is specified, look in the llvm/clang bin dirs relative to the source directory (Xcode build style) to find one, use it if found. Modif

[Lldb-commits] [lldb] r346278 - Add MSVCUndecoratedNameParser.cpp.

2018-11-06 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Nov 6 15:01:42 2018 New Revision: 346278 URL: http://llvm.org/viewvc/llvm-project?rev=346278&view=rev Log: Add MSVCUndecoratedNameParser.cpp. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.

[Lldb-commits] [lldb] r346283 - Compiler warning pointed out a mistake - fix it.

2018-11-06 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Nov 6 16:25:02 2018 New Revision: 346283 URL: http://llvm.org/viewvc/llvm-project?rev=346283&view=rev Log: Compiler warning pointed out a mistake - fix it. Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp Modified: lldb/trunk/source/Plugins/

[Lldb-commits] [lldb] r346285 - Standardize the OTHER_LDFLAGS for the lldb-gtest-build target.

2018-11-06 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Nov 6 17:19:52 2018 New Revision: 346285 URL: http://llvm.org/viewvc/llvm-project?rev=346285&view=rev Log: Standardize the OTHER_LDFLAGS for the lldb-gtest-build target. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/projec

[Lldb-commits] [lldb] r346342 - Revert r346285 until I can make it work correctly

2018-11-07 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Nov 7 10:38:15 2018 New Revision: 346342 URL: http://llvm.org/viewvc/llvm-project?rev=346342&view=rev Log: Revert r346285 until I can make it work correctly the way the bots build lldb. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.

[Lldb-commits] [lldb] r346347 - Re-commit regularization of the lldb-gtest-build target.

2018-11-07 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Nov 7 11:28:03 2018 New Revision: 346347 URL: http://llvm.org/viewvc/llvm-project?rev=346347&view=rev Log: Re-commit regularization of the lldb-gtest-build target. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxp

[Lldb-commits] [lldb] r346443 - Change $CURRENT_ARCH settings in xcode project file to hardcoded

2018-11-08 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Nov 8 14:41:19 2018 New Revision: 346443 URL: http://llvm.org/viewvc/llvm-project?rev=346443&view=rev Log: Change $CURRENT_ARCH settings in xcode project file to hardcoded "x86_64" - used for finding the llvm build directory. Newer Xcodes do not define CURRENT_ARCH. M

[Lldb-commits] [lldb] r346553 - Remove llvm include from debugserver, change

2018-11-09 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Nov 9 12:31:41 2018 New Revision: 346553 URL: http://llvm.org/viewvc/llvm-project?rev=346553&view=rev Log: Remove llvm include from debugserver, change LLVM_FALLTHROUGH's to [[clang::fallthrough]] - debugserver is only ever compiled on darwin systems with clang. Modif

[Lldb-commits] [lldb] r346561 - Work with a gdb-remote target that doesn't handle the

2018-11-09 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Nov 9 14:33:26 2018 New Revision: 346561 URL: http://llvm.org/viewvc/llvm-project?rev=346561&view=rev Log: Work with a gdb-remote target that doesn't handle the qWatchpointSupportInfo packet correctly. In GDBRemoteCommunicationClient::GetWatchpointSupportInfo, if the

[Lldb-commits] [lldb] r346571 - Enable listening for EXC_RESOURCE events, and format mach

2018-11-09 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Nov 9 16:14:14 2018 New Revision: 346571 URL: http://llvm.org/viewvc/llvm-project?rev=346571&view=rev Log: Enable listening for EXC_RESOURCE events, and format mach event as a thread stop reason if we receive one, using some macros to decode the payload. Patch origi

[Lldb-commits] [lldb] r346573 - Unbreak the linux bot from the previous commit. Fred needed to use

2018-11-09 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Nov 9 16:25:45 2018 New Revision: 346573 URL: http://llvm.org/viewvc/llvm-project?rev=346573&view=rev Log: Unbreak the linux bot from the previous commit. Fred needed to use some of the macros from mach/exc_resource.h to decode EXC_RESOURCE, but that header doesn't exi

[Lldb-commits] [lldb] r346900 - update xcode project file for reproducers.

2018-11-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Nov 14 14:14:07 2018 New Revision: 346900 URL: http://llvm.org/viewvc/llvm-project?rev=346900&view=rev Log: update xcode project file for reproducers. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http

[Lldb-commits] [lldb] r346991 - A unit test file moved.

2018-11-15 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Nov 15 12:28:55 2018 New Revision: 346991 URL: http://llvm.org/viewvc/llvm-project?rev=346991&view=rev Log: A unit test file moved. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc/

[Lldb-commits] [lldb] r347122 - add PdbSymUid.cpp

2018-11-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Nov 16 17:08:01 2018 New Revision: 347122 URL: http://llvm.org/viewvc/llvm-project?rev=347122&view=rev Log: add PdbSymUid.cpp Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc/llvm-p

[Lldb-commits] [lldb] r348040 - Add a test to verify that lldb can load a kext binary.

2018-11-30 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Nov 30 13:33:00 2018 New Revision: 348040 URL: http://llvm.org/viewvc/llvm-project?rev=348040&view=rev Log: Add a test to verify that lldb can load a kext binary. Added: lldb/trunk/packages/Python/lldbsuite/test/macosx/load-kext/ lldb/trunk/packages/Python/ll

[Lldb-commits] [lldb] r348300 - Add SBInitializerOptions.cpp.

2018-12-04 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Dec 4 12:34:23 2018 New Revision: 348300 URL: http://llvm.org/viewvc/llvm-project?rev=348300&view=rev Log: Add SBInitializerOptions.cpp. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/v

Re: [Lldb-commits] [lldb] r348527 - [pecoff] Implement ObjectFilePECOFF::GetDependedModules()

2018-12-06 Thread Jason Molenda via lldb-commits
Hi Aaron, this is failing to build on macOS systems -- > On Dec 6, 2018, at 1:36 PM, Aaron Smith via lldb-commits > wrote: > > +// At this moment we only have the base name of the DLL. The full path > can > +// only be seen after the dynamic loading. Our best guess is Try to get > it

[Lldb-commits] [lldb] r348557 - Change the amount of data that Platform::PutFile will try to transfer

2018-12-06 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Dec 6 16:35:26 2018 New Revision: 348557 URL: http://llvm.org/viewvc/llvm-project?rev=348557&view=rev Log: Change the amount of data that Platform::PutFile will try to transfer in one packet from 1k bytes to 16k bytes. Sending a large file to an iOS device directly con

[Lldb-commits] [lldb] r349231 - A brief outline of the packets that need to be implemented

2018-12-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Dec 14 18:36:39 2018 New Revision: 349231 URL: http://llvm.org/viewvc/llvm-project?rev=349231&view=rev Log: A brief outline of the packets that need to be implemented to write an lldb platform server that doesn't link against LLDB.framework to be able to fully run the ll

[Lldb-commits] [lldb] r349232 - Ah, forgot qModuleInfo. Need to look that one up

2018-12-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Dec 14 18:51:01 2018 New Revision: 349232 URL: http://llvm.org/viewvc/llvm-project?rev=349232&view=rev Log: Ah, forgot qModuleInfo. Need to look that one up and finish filling this in. Modified: lldb/trunk/docs/lldb-platform-packets.txt Modified: lldb/trunk/docs/l

[Lldb-commits] [lldb] r349282 - Update the vFile:open: description to note that the flags

2018-12-15 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Sat Dec 15 10:40:38 2018 New Revision: 349282 URL: http://llvm.org/viewvc/llvm-project?rev=349282&view=rev Log: Update the vFile:open: description to note that the flags in the packet are lldb enum values, not the open(2) oflags -- forgot about that wrinkle. Also added a c

[Lldb-commits] [lldb] r349313 - Clarify a few minor details.

2018-12-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Sun Dec 16 10:33:58 2018 New Revision: 349313 URL: http://llvm.org/viewvc/llvm-project?rev=349313&view=rev Log: Clarify a few minor details. Modified: lldb/trunk/docs/lldb-platform-packets.txt Modified: lldb/trunk/docs/lldb-platform-packets.txt URL: http://llvm.org/vi

[Lldb-commits] [lldb] r349316 - Add a description of the similar packets defined in the

2018-12-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Sun Dec 16 10:44:54 2018 New Revision: 349316 URL: http://llvm.org/viewvc/llvm-project?rev=349316&view=rev Log: Add a description of the similar packets defined in the gdb-remote serial protocol documentation, call out the incompatability of lldb's vFile:open: packet as it

[Lldb-commits] [lldb] r349406 - Add PdbAstBuilder.cpp.

2018-12-17 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Dec 17 14:07:39 2018 New Revision: 349406 URL: http://llvm.org/viewvc/llvm-project?rev=349406&view=rev Log: Add PdbAstBuilder.cpp. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc/l

[Lldb-commits] [lldb] r349409 - Document the DBGSourcePathRemapping dictionary that may be

2018-12-17 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Dec 17 14:25:54 2018 New Revision: 349409 URL: http://llvm.org/viewvc/llvm-project?rev=349409&view=rev Log: Document the DBGSourcePathRemapping dictionary that may be present in the dSYM per-uuid plist, its precedence order with the older DBGBuildSourcePath/DBGSourcePat

[Lldb-commits] [lldb] r349417 - A few small updates to the testsuite for running against an iOS device.

2018-12-17 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Dec 17 15:33:40 2018 New Revision: 349417 URL: http://llvm.org/viewvc/llvm-project?rev=349417&view=rev Log: A few small updates to the testsuite for running against an iOS device. Remove the expected-fails for 34538611; using an alternate platform implementation handles

[Lldb-commits] [lldb] r349553 - Un-conditionalize use of libcompression. debugserver only builds

2018-12-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Dec 18 14:21:48 2018 New Revision: 349553 URL: http://llvm.org/viewvc/llvm-project?rev=349553&view=rev Log: Un-conditionalize use of libcompression. debugserver only builds on Darwin systems and libcompression has been in the OS for over three years. Remove use of / l

[Lldb-commits] [lldb] r349563 - Force libcompression calls to be enabled when building on Darwin

2018-12-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Dec 18 15:02:50 2018 New Revision: 349563 URL: http://llvm.org/viewvc/llvm-project?rev=349563&view=rev Log: Force libcompression calls to be enabled when building on Darwin systems. It has been available in the OS over over three years now. If lldb doesn't link against

[Lldb-commits] [lldb] r349572 - Remove the zlib CFLAGS and LDFLAGS settings from the xcode project file.

2018-12-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Dec 18 15:33:42 2018 New Revision: 349572 URL: http://llvm.org/viewvc/llvm-project?rev=349572&view=rev Log: Remove the zlib CFLAGS and LDFLAGS settings from the xcode project file. We're linking against libcompression all the time now, we don't need to fall back to zlib.

[Lldb-commits] [lldb] r349580 - Don't forget to free the libcompression scratch buffer in the dtor.

2018-12-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Dec 18 15:45:45 2018 New Revision: 349580 URL: http://llvm.org/viewvc/llvm-project?rev=349580&view=rev Log: Don't forget to free the libcompression scratch buffer in the dtor. Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp Modifie

[Lldb-commits] [lldb] r333690 - Set m_struct_valid to initial value in ctor.

2018-05-31 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu May 31 13:01:15 2018 New Revision: 333690 URL: http://llvm.org/viewvc/llvm-project?rev=333690&view=rev Log: Set m_struct_valid to initial value in ctor. Patch from Tom Tromey . Differential Revision: https://reviews.llvm.org/D47481 Modified: lldb/trunk/source/Exp

[Lldb-commits] [lldb] r334441 - Add DebugNamesDWARFIndex.cpp.

2018-06-11 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Jun 11 14:35:36 2018 New Revision: 334441 URL: http://llvm.org/viewvc/llvm-project?rev=334441&view=rev Log: Add DebugNamesDWARFIndex.cpp. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/v

[Lldb-commits] [lldb] r334442 - Document how lldb uses the DBGSourcePathRemapping

2018-06-11 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Jun 11 14:36:40 2018 New Revision: 334442 URL: http://llvm.org/viewvc/llvm-project?rev=334442&view=rev Log: Document how lldb uses the DBGSourcePathRemapping source path remapping src/dest path pairs with respect to the DBGVersion number in the plist. Modified: lld

[Lldb-commits] [lldb] r334662 - Fix macos xcode build.

2018-06-13 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Jun 13 15:05:38 2018 New Revision: 334662 URL: http://llvm.org/viewvc/llvm-project?rev=334662&view=rev Log: Fix macos xcode build. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj lldb/trunk/source/Host/macosx/objcxx/Host.mm Modified: lldb/trunk/lldb.xcodepr

[Lldb-commits] [lldb] r334666 - Fix group entry.

2018-06-13 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Jun 13 15:33:27 2018 New Revision: 334666 URL: http://llvm.org/viewvc/llvm-project?rev=334666&view=rev Log: Fix group entry. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc/llvm-pr

[Lldb-commits] [lldb] r334667 - Move the header file to be in the same new place as the .mm file.

2018-06-13 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Jun 13 15:37:01 2018 New Revision: 334667 URL: http://llvm.org/viewvc/llvm-project?rev=334667&view=rev Log: Move the header file to be in the same new place as the .mm file. Added: lldb/trunk/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSu

[Lldb-commits] [lldb] r334680 - fix cmake include path.

2018-06-13 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Jun 13 18:29:18 2018 New Revision: 334680 URL: http://llvm.org/viewvc/llvm-project?rev=334680&view=rev Log: fix cmake include path. Modified: lldb/trunk/source/Plugins/Platform/MacOSX/objcxx/CMakeLists.txt Modified: lldb/trunk/source/Plugins/Platform/MacOSX/objcxx/

[Lldb-commits] [lldb] r334783 - Change TestExec.py from creating an i386+x86_64 fat binary

2018-06-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Jun 14 17:55:53 2018 New Revision: 334783 URL: http://llvm.org/viewvc/llvm-project?rev=334783&view=rev Log: Change TestExec.py from creating an i386+x86_64 fat binary on darwin systems and re-execing itself, to creating two separate test programs; lldb runs the first pro

[Lldb-commits] [lldb] r334872 - Sort the files in the PBXBuildFile and PBXFileReference

2018-06-15 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Jun 15 16:29:32 2018 New Revision: 334872 URL: http://llvm.org/viewvc/llvm-project?rev=334872&view=rev Log: Sort the files in the PBXBuildFile and PBXFileReference sections of lldb's xcode project file to reduce automerger issues with the github swift repository of lldb

[Lldb-commits] [lldb] r334873 - Sort the files in the PBXBuildFile and PBXFileReference sections

2018-06-15 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Jun 15 16:32:37 2018 New Revision: 334873 URL: http://llvm.org/viewvc/llvm-project?rev=334873&view=rev Log: Sort the files in the PBXBuildFile and PBXFileReference sections of debugserver's xcode project file to reduce automerger issues with the github swift repository o

[Lldb-commits] [lldb] r334995 - Some NFC changes to how we scan of kexts & kernels in memory in the

2018-06-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Jun 18 16:30:03 2018 New Revision: 334995 URL: http://llvm.org/viewvc/llvm-project?rev=334995&view=rev Log: Some NFC changes to how we scan of kexts & kernels in memory in the DynamicLoaderDarwinKernel plugin. Created a new function ReadMachHeader and instead of reading

[Lldb-commits] [lldb] r335079 - Correct the pathname that PlatformDarwinKernel::ExamineKextForMatchingUUID

2018-06-19 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Jun 19 14:39:10 2018 New Revision: 335079 URL: http://llvm.org/viewvc/llvm-project?rev=335079&view=rev Log: Correct the pathname that PlatformDarwinKernel::ExamineKextForMatchingUUID passes to the recursive search function so we only recursively search the kext bundle di

[Lldb-commits] [lldb] r335556 - A little cleanup in ObjectFileMachO::GetSDKVersion.

2018-06-25 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Jun 25 16:45:39 2018 New Revision: 335556 URL: http://llvm.org/viewvc/llvm-project?rev=335556&view=rev Log: A little cleanup in ObjectFileMachO::GetSDKVersion. This method does one of two things: 1. finds a minimum os deployment version # in a Mach-O load command and

[Lldb-commits] [lldb] r336158 - Re-sort the lldb.xcodeproj project file and commit the script

2018-07-02 Thread Jason Molenda via lldb-commits
Added: lldb/trunk/scripts/sort-pbxproj.rb URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/sort-pbxproj.rb?rev=336158&view=auto == --- lldb/trunk/scripts/sort-pbxproj.rb (added) +++ lldb/trunk/scripts/sort-pbxpr

[Lldb-commits] [lldb] r336158 - Re-sort the lldb.xcodeproj project file and commit the script

2018-07-02 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Jul 2 17:43:57 2018 New Revision: 336158 URL: http://llvm.org/viewvc/llvm-project?rev=336158&view=rev Log: Re-sort the lldb.xcodeproj project file and commit the script that I used to sort it to scripts/sort-pbxproj.rb. It turns out that Xcode will perturb the order of

[Lldb-commits] [lldb] r336956 - Remove incorrect thread-pc-values clearing

2018-07-12 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Jul 12 15:45:41 2018 New Revision: 336956 URL: http://llvm.org/viewvc/llvm-project?rev=336956&view=rev Log: Remove incorrect thread-pc-values clearing from ProcessGDBRemote::UpdateThreadIDsFromStopReplyThreadsValue. Patch by Venkata Ramanaiah. Differential Revision: ht

Re: [Lldb-commits] [PATCH] D48868: [LLDB] In ProcessGDBRemote::UpdateThreadIDList(), the thread PCs should not be cleared after they are updated from the stop reply packet

2018-07-16 Thread Jason Molenda via lldb-commits
That's a good point Pavel. I tried to write one (below) but I never saw what the original failure mode was. Venkata, can you help to make a test case that fails before the patch and works after? Or explain what bug was being fixed exactly? I could see that the code was wrong from reading it,

[Lldb-commits] [lldb] r337335 - Link the lldb driver ("lldb") against the llvm static

2018-07-17 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Jul 17 16:44:09 2018 New Revision: 337335 URL: http://llvm.org/viewvc/llvm-project?rev=337335&view=rev Log: Link the lldb driver ("lldb") against the llvm static libraries because of the new prettystackprinter dependency. Modified: lldb/trunk/lldb.xcodeproj/project.

[Lldb-commits] [lldb] r337774 - Change sort-pbxproj.rb to find the project.pbxproj in the

2018-07-23 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Jul 23 16:34:50 2018 New Revision: 337774 URL: http://llvm.org/viewvc/llvm-project?rev=337774&view=rev Log: Change sort-pbxproj.rb to find the project.pbxproj in the most likely locations. And have it overwrite the original file with the sorted output. Modified: l

[Lldb-commits] [lldb] r337865 - Add DumpRegisterValue.cpp.

2018-07-24 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Jul 24 16:19:56 2018 New Revision: 337865 URL: http://llvm.org/viewvc/llvm-project?rev=337865&view=rev Log: Add DumpRegisterValue.cpp. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/view

[Lldb-commits] [lldb] r339615 - Update TestTargetXMLArch.py test for llvm triple change with unspecified

2018-08-13 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Aug 13 14:20:29 2018 New Revision: 339615 URL: http://llvm.org/viewvc/llvm-project?rev=339615&view=rev Log: Update TestTargetXMLArch.py test for llvm triple change with unspecified components in r339294. Modified: lldb/trunk/packages/Python/lldbsuite/test/functiona

[Lldb-commits] [lldb] r340877 - Remove unnecessary entitlement in debugserver for iOS.

2018-08-28 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Aug 28 15:28:34 2018 New Revision: 340877 URL: http://llvm.org/viewvc/llvm-project?rev=340877&view=rev Log: Remove unnecessary entitlement in debugserver for iOS. Modified: lldb/trunk/tools/debugserver/source/debugserver-entitlements.plist Modified: lldb/trunk/to

[Lldb-commits] [lldb] r341511 - Re-instate a bit of code that was commented out in r188246 which

2018-09-05 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Sep 5 17:55:27 2018 New Revision: 341511 URL: http://llvm.org/viewvc/llvm-project?rev=341511&view=rev Log: Re-instate a bit of code that was commented out in r188246 which reads an ObjectFileMachO's string table in one chunk. Originally this was commented out because b

[Lldb-commits] [lldb] r341623 - Enable the fp-armv8 disassembler feature when disassembling Cortex-M

2018-09-06 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Sep 6 18:28:48 2018 New Revision: 341623 URL: http://llvm.org/viewvc/llvm-project?rev=341623&view=rev Log: Enable the fp-armv8 disassembler feature when disassembling Cortex-M code. This will enable disassembly of the optional subset of neon that some Cortex cores supp

[Lldb-commits] [lldb] r341696 - Add the Disassembler unit test dir.

2018-09-07 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Sep 7 11:51:10 2018 New Revision: 341696 URL: http://llvm.org/viewvc/llvm-project?rev=341696&view=rev Log: Add the Disassembler unit test dir. Modified: lldb/trunk/unittests/CMakeLists.txt Modified: lldb/trunk/unittests/CMakeLists.txt URL: http://llvm.org/viewvc/

[Lldb-commits] [lldb] r342072 - If we fail to get an armv7em-- disassembler from llvm, skip the

2018-09-12 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Sep 12 12:30:03 2018 New Revision: 342072 URL: http://llvm.org/viewvc/llvm-project?rev=342072&view=rev Log: If we fail to get an armv7em-- disassembler from llvm, skip the tests and don't mark this as a failure. This happens when we've linked against an llvm without the

[Lldb-commits] [lldb] r342085 - Commit my attempt to test the change to ProcessGDBRemote

2018-09-12 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Sep 12 14:35:02 2018 New Revision: 342085 URL: http://llvm.org/viewvc/llvm-project?rev=342085&view=rev Log: Commit my attempt to test the change to ProcessGDBRemote in r336956. This test doesn't actually test the change that was submitted by Venkata, but it's a good one

[Lldb-commits] [lldb] r318218 - Update xcode project file to track ArchSpec.cpp

2017-11-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Nov 14 15:15:35 2017 New Revision: 318218 URL: http://llvm.org/viewvc/llvm-project?rev=318218&view=rev Log: Update xcode project file to track ArchSpec.cpp move and LibCxxBitset.cpp addition. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/

[Lldb-commits] [lldb] r318260 - Two small fixes to handle arm64 fpu register contexts in

2017-11-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Nov 14 19:18:24 2017 New Revision: 318260 URL: http://llvm.org/viewvc/llvm-project?rev=318260&view=rev Log: Two small fixes to handle arm64 fpu register contexts in a Mach-O file load command correctly, patch by Ryan Mansfield. Modified: lldb/trunk/source/Plugin

[Lldb-commits] [lldb] r318262 - Roll back r318260 because it is causing the windows bot to

2017-11-14 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Tue Nov 14 19:41:47 2017 New Revision: 318262 URL: http://llvm.org/viewvc/llvm-project?rev=318262&view=rev Log: Roll back r318260 because it is causing the windows bot to break. The alignas(__uint128_t) is not recognized with MSVC it looks like. Zachary, is there a similar

Re: [Lldb-commits] [lldb] r318262 - Roll back r318260 because it is causing the windows bot to

2017-11-15 Thread Jason Molenda via lldb-commits
Hi Zachary, do you have a suggestion on how to specify this alignment in a way that works with MSVC? > On Nov 14, 2017, at 7:41 PM, Jason Molenda via lldb-commits > wrote: > > Author: jmolenda > Date: Tue Nov 14 19:41:47 2017 > New Revision: 318262 > > URL: htt

Re: [Lldb-commits] [lldb] r318262 - Roll back r318260 because it is causing the windows bot to

2017-11-15 Thread Jason Molenda via lldb-commits
> On Nov 15, 2017, at 1:38 AM, Pavel Labath wrote: > > On 15 November 2017 at 03:41, Jason Molenda via lldb-commits > wrote: >> Author: jmolenda >> Date: Tue Nov 14 19:41:47 2017 >> New Revision: 318262 >> >> URL: http://llvm.org/viewvc/llvm-projec

[Lldb-commits] [lldb] r318357 - Fix alignment of arm64 fpu register context structure

2017-11-15 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Wed Nov 15 16:50:29 2017 New Revision: 318357 URL: http://llvm.org/viewvc/llvm-project?rev=318357&view=rev Log: Fix alignment of arm64 fpu register context structure so it has the same padding as the kernel's definition which is written in terms of uint128_t. Original patch

[Lldb-commits] Need to change swig typemap for reading C strings

2017-11-15 Thread Jason Molenda via lldb-commits
Hi Zachary, reviving a problem I initially found a year ago -- in r253487 where a swig typemap was changed for string reading methods. The problem we're seeing with this change is that SBProcess::ReadCStringFromMemory() now returns a None object when you try to read a zero-length string, and th

Re: [Lldb-commits] Need to change swig typemap for reading C strings

2017-11-15 Thread Jason Molenda via lldb-commits
The general point you're making is reasonable, and something like Thread::GetStopDescription is not clear which the correct behavior should be. But I think we can all agree that Process::ReadCStringFromMemory() returning a None object when there is an empty c-string is incorrect. People are wri

Re: [Lldb-commits] Need to change swig typemap for reading C strings

2017-11-15 Thread Jason Molenda via lldb-commits
Yeah, I'm going to check in one based on my little example program. The only tricky bit is > > const char *invalid_memory_string = (char*)0x100; // lower 4k is always > > PAGEZERO & unreadable on darwin I'll need some address that is unmapped for other platforms. Maybe address -1 or

[Lldb-commits] [lldb] r318500 - Update xcode project file to build new ppc64le files.

2017-11-16 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Nov 16 17:55:50 2017 New Revision: 318500 URL: http://llvm.org/viewvc/llvm-project?rev=318500&view=rev Log: Update xcode project file to build new ppc64le files. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj lldb/trunk/lldb.xcodeproj/xcshareddata/xcschemes

Re: [Lldb-commits] [PATCH] D40616: ObjectFileELF: Add support for compressed sections

2017-11-29 Thread Jason Molenda via lldb-commits
The last time this discussion came up (Sep 2016), I pointed out that a great approach here would be to use the lldb-mi driver. The MI (Machine Interface) is a JSON-like debugger UI which closely models how people use the lldb command line driver. It was written at Cygnus (long before JSON, hen

Re: [Lldb-commits] [PATCH] D40616: ObjectFileELF: Add support for compressed sections

2017-11-29 Thread Jason Molenda via lldb-commits
> On Nov 29, 2017, at 2:13 PM, Greg Clayton wrote: > > >> On Nov 29, 2017, at 2:10 PM, Jason Molenda via lldb-commits >> wrote: >> >> The last time this discussion came up (Sep 2016), I pointed out that a great >> approach here would be to u

Re: [Lldb-commits] [PATCH] D40616: ObjectFileELF: Add support for compressed sections

2017-11-29 Thread Jason Molenda via lldb-commits
> On Nov 29, 2017, at 2:51 PM, Zachary Turner via lldb-commits > wrote: > > > > On Wed, Nov 29, 2017 at 1:59 PM Jim Ingham wrote: > I'm mostly basing this concern on the bad effect this had on gdb all of whose > testing was expect based command scraping. gdb is a tool that's much closer

[Lldb-commits] [lldb] r319500 - We had a situation where a kext was inlined into the kernel,

2017-11-30 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Nov 30 15:31:18 2017 New Revision: 319500 URL: http://llvm.org/viewvc/llvm-project?rev=319500&view=rev Log: We had a situation where a kext was inlined into the kernel, but still listed in the kernel's kext table with the kernel binary UUID. This resulted in the kernel

Re: [Lldb-commits] [lldb] r319653 - Makefile.rules: compile all tests with -fno-limit-debug-info

2017-12-05 Thread Jason Molenda via lldb-commits
It looks like the macos testsuite on the bot is broken with this - http://lab.llvm.org:8080/green/view/LLDB/job/lldb/3086/ On my desktop with a recent clang, it works fine. But it seems like every test? most tests? are failing with error: parsing line table prologue at 0x (parsing end

[Lldb-commits] [lldb] r320240 - Update PlatformDarwin::GetDeveloperDir to handle the two

2017-12-08 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Dec 8 19:06:19 2017 New Revision: 320240 URL: http://llvm.org/viewvc/llvm-project?rev=320240&view=rev Log: Update PlatformDarwin::GetDeveloperDir to handle the two most common cases where the Xcode.app bundle puts lldb - either as a default part of the bundle, or in a t

[Lldb-commits] [lldb] r320241 - Change the ordering that we search for kexts and kernels on the local

2017-12-08 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Dec 8 19:28:15 2017 New Revision: 320241 URL: http://llvm.org/viewvc/llvm-project?rev=320241&view=rev Log: Change the ordering that we search for kexts and kernels on the local computer. When doing kernel debugging, lldb scrapes around a few well-known locations to fi

[Lldb-commits] [lldb] r320242 - Change uses of strncpy in debugserver to strlcpy

2017-12-08 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Fri Dec 8 19:37:09 2017 New Revision: 320242 URL: http://llvm.org/viewvc/llvm-project?rev=320242&view=rev Log: Change uses of strncpy in debugserver to strlcpy for better safety. Modified: lldb/trunk/tools/debugserver/source/DNB.cpp lldb/trunk/tools/debugserver/

Re: [Lldb-commits] [lldb] r320242 - Change uses of strncpy in debugserver to strlcpy

2017-12-11 Thread Jason Molenda via lldb-commits
uld give us safety and portability? > > On Sun, Dec 10, 2017 at 3:52 PM, Davide Italiano via lldb-commits > wrote: > On Fri, Dec 8, 2017 at 7:37 PM, Jason Molenda via lldb-commits > wrote: > > Author: jmolenda > > Date: Fri Dec 8 19:37:09 2017 > > New Revisi

[Lldb-commits] [lldb] r321051 - Tweak to the debugserver entitlements setup in the xcode project

2017-12-18 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Mon Dec 18 17:41:47 2017 New Revision: 321051 URL: http://llvm.org/viewvc/llvm-project?rev=321051&view=rev Log: Tweak to the debugserver entitlements setup in the xcode project file. For macos builds specifically, use the macosx entitlements files; for all other builds, use

Re: [Lldb-commits] [lldb] r320240 - Update PlatformDarwin::GetDeveloperDir to handle the two

2017-12-21 Thread Jason Molenda via lldb-commits
, any chance we can write a test case for this? > > -- > Davide > >> On Mon, Dec 11, 2017 at 12:52 AM, Davide Italiano >> wrote: >> Testcase? >> >> On Fri, Dec 8, 2017 at 7:06 PM, Jason Molenda via lldb-commits >> wrote: >>> Author:

[Lldb-commits] [lldb] r321328 - Change the default Aarch64 ISA to be v8.2 to correctly decode newer

2017-12-21 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Dec 21 16:16:04 2017 New Revision: 321328 URL: http://llvm.org/viewvc/llvm-project?rev=321328&view=rev Log: Change the default Aarch64 ISA to be v8.2 to correctly decode newer instructions (e.g. on the new iphones). Modified: lldb/trunk/source/Plugins/Disassembler

[Lldb-commits] [lldb] r321338 - Change SBProcess::ReadCStringFromMemory() back to returning

2017-12-21 Thread Jason Molenda via lldb-commits
Author: jmolenda Date: Thu Dec 21 19:27:02 2017 New Revision: 321338 URL: http://llvm.org/viewvc/llvm-project?rev=321338&view=rev Log: Change SBProcess::ReadCStringFromMemory() back to returning an empty Python string object when it reads a 0-length string out of memory (and a successful SBError

Re: [Lldb-commits] [PATCH] D41725: [lldb] [test] Fix tests to use more portable LLVM_ENABLE_ZLIB

2018-01-09 Thread Jason Molenda via lldb-commits
> On Jan 9, 2018, at 6:51 AM, Michał Górny via Phabricator via lldb-commits > wrote: > > mgorny added a comment. > > In https://reviews.llvm.org/D41725#970926, @labath wrote: > >> In https://reviews.llvm.org/D41725#969388, @mgorny wrote: >> >>> I was talking of: >>> >>> source/Plugins/Pro

  1   2   3   4   5   6   7   8   9   10   >