[Lldb-commits] [lldb] r373144 - [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp api. NFC.

2019-09-28 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 28 02:33:44 2019 New Revision: 373144 URL: http://llvm.org/viewvc/llvm-project?rev=373144&view=rev Log: [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp api. NFC. If there's any testcases that only do demangling (I didn't find any), they could

[Lldb-commits] [lldb] r373146 - Revert "[LLDB] Use the llvm microsoft demangler instead of the windows dbghelp api. NFC."

2019-09-28 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 28 03:25:22 2019 New Revision: 373146 URL: http://llvm.org/viewvc/llvm-project?rev=373146&view=rev Log: Revert "[LLDB] Use the llvm microsoft demangler instead of the windows dbghelp api. NFC." This reverts SVN r373144, as it changed the demangled output a little,

[Lldb-commits] [lldb] r374526 - [LLDB] [Driver] Use llvm::InitLLVM to do unicode argument conversion on Windows

2019-10-11 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Fri Oct 11 01:44:51 2019 New Revision: 374526 URL: http://llvm.org/viewvc/llvm-project?rev=374526&view=rev Log: [LLDB] [Driver] Use llvm::InitLLVM to do unicode argument conversion on Windows This avoids the currently MSVC specific codepath of using the wchar entry point an

[Lldb-commits] [lldb] r374537 - [LLDB] [lldb-server] Use llvm::InitLLVM for doing unicode conversion of arguments for windows

2019-10-11 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Fri Oct 11 04:47:07 2019 New Revision: 374537 URL: http://llvm.org/viewvc/llvm-project?rev=374537&view=rev Log: [LLDB] [lldb-server] Use llvm::InitLLVM for doing unicode conversion of arguments for windows This should allow lldb-server to operate on files with non-ascii pa

[Lldb-commits] [lldb] r374866 - [LLDB] [Windows] Initial support for ARM64 register contexts

2019-10-15 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Oct 15 01:31:52 2019 New Revision: 374866 URL: http://llvm.org/viewvc/llvm-project?rev=374866&view=rev Log: [LLDB] [Windows] Initial support for ARM64 register contexts Differential Revision: https://reviews.llvm.org/D67954 Added: lldb/trunk/source/Plugins/Process

[Lldb-commits] [lldb] r375034 - [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp api. NFCI.

2019-10-16 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Wed Oct 16 12:39:56 2019 New Revision: 375034 URL: http://llvm.org/viewvc/llvm-project?rev=375034&view=rev Log: [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp api. NFCI. Differential Revision: https://reviews.llvm.org/D68134 Modified: lldb/trun

[Lldb-commits] [lldb] r375156 - [LLDB] [test] Use %clang_cl instead of build.py in a few tests

2019-10-17 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Thu Oct 17 12:22:50 2019 New Revision: 375156 URL: http://llvm.org/viewvc/llvm-project?rev=375156&view=rev Log: [LLDB] [test] Use %clang_cl instead of build.py in a few tests This allows explicitly specifying the intended target architecture, for tests that aren't supposed

[Lldb-commits] [lldb] r375163 - Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests"

2019-10-17 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Thu Oct 17 13:14:19 2019 New Revision: 375163 URL: http://llvm.org/viewvc/llvm-project?rev=375163&view=rev Log: Revert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests" This reverts SVN r375156, as it seems to have broken tests when run on macOS: http://green

[Lldb-commits] [lldb] a59444a - [LLDB] [Windows] Initial support for ARM register contexts

2019-10-21 Thread Martin Storsjo via lldb-commits
Author: Martin Storsjo Date: 2019-10-21T08:02:34Z New Revision: a59444a35608988e727fe3761e34f1fad6097617 URL: https://github.com/llvm/llvm-project/commit/a59444a35608988e727fe3761e34f1fad6097617 DIFF: https://github.com/llvm/llvm-project/commit/a59444a35608988e727fe3761e34f1fad6097617.diff LOG

[Lldb-commits] [lldb] r372483 - [LLDB] Check for the GCC/MinGW compatible arch defines for windows, in addition to MSVC defines

2019-09-21 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 21 12:09:49 2019 New Revision: 372483 URL: http://llvm.org/viewvc/llvm-project?rev=372483&view=rev Log: [LLDB] Check for the GCC/MinGW compatible arch defines for windows, in addition to MSVC defines This matches how it is done in all other similar ifdefs throughou

[Lldb-commits] [lldb] r372482 - [LLDB] Fix compilation for MinGW, remove redundant class name on inline member

2019-09-21 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 21 12:09:43 2019 New Revision: 372482 URL: http://llvm.org/viewvc/llvm-project?rev=372482&view=rev Log: [LLDB] Fix compilation for MinGW, remove redundant class name on inline member This fixes build errors like these: NativeRegisterContextWindows.h:22:33: error: e

[Lldb-commits] [lldb] r372485 - [LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style format strings

2019-09-21 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 21 12:10:00 2019 New Revision: 372485 URL: http://llvm.org/viewvc/llvm-project?rev=372485&view=rev Log: [LLDB] Use SetErrorStringWithFormatv for cases that use LLVM style format strings SetErrorStringWithFormat only supports normal printf style format strings. Dif

[Lldb-commits] [lldb] r372486 - [LLDB] Cast -1 (as invalid socket) to the socket type before comparing

2019-09-21 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 21 12:10:15 2019 New Revision: 372486 URL: http://llvm.org/viewvc/llvm-project?rev=372486&view=rev Log: [LLDB] Cast -1 (as invalid socket) to the socket type before comparing This silences warnings about comparison of integers between unsigned long long (which is wh

[Lldb-commits] [lldb] r372484 - [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment

2019-09-21 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Sat Sep 21 12:09:54 2019 New Revision: 372484 URL: http://llvm.org/viewvc/llvm-project?rev=372484&view=rev Log: [LLDB] Use LLVM_FALLTHROUGH instead of a custom comment This fixes a warning when built with Clang in MinGW mode. Differential Revision: https://reviews.llvm.org

[Lldb-commits] [lldb] r372587 - [LLDB] Add a missing specification of linking against dbghelp

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:03:08 2019 New Revision: 372587 URL: http://llvm.org/viewvc/llvm-project?rev=372587&view=rev Log: [LLDB] Add a missing specification of linking against dbghelp The PECOFF object file plugin uses the dbghelp API, but doesn't specify that it has to be linked in

[Lldb-commits] [lldb] r372586 - [LLDB] Use the Windows SOCKET type on all windows targets, not only MSVC

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:02:59 2019 New Revision: 372586 URL: http://llvm.org/viewvc/llvm-project?rev=372586&view=rev Log: [LLDB] Use the Windows SOCKET type on all windows targets, not only MSVC Differential Revision: https://reviews.llvm.org/D67859 Modified: lldb/trunk/include/

[Lldb-commits] [lldb] r372589 - [LLDB] Avoid a warning about an unused static variable

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:03:21 2019 New Revision: 372589 URL: http://llvm.org/viewvc/llvm-project?rev=372589&view=rev Log: [LLDB] Avoid a warning about an unused static variable The variable is unused on windows. Differential Revision: https://reviews.llvm.org/D67895 Modified: l

[Lldb-commits] [lldb] r372590 - [LLDB] Add a void* cast when passing object pointers to printf %p

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:03:28 2019 New Revision: 372590 URL: http://llvm.org/viewvc/llvm-project?rev=372590&view=rev Log: [LLDB] Add a void* cast when passing object pointers to printf %p This fixes build warnings in MinGW mode. Also remove leftover if (log) {} around the log macro.

[Lldb-commits] [lldb] r372588 - [LLDB] Remove a stray semicolon. NFC.

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:03:14 2019 New Revision: 372588 URL: http://llvm.org/viewvc/llvm-project?rev=372588&view=rev Log: [LLDB] Remove a stray semicolon. NFC. This fixes build warnings with at least GCC. Modified: lldb/trunk/source/Utility/Scalar.cpp Modified: lldb/trunk/sourc

[Lldb-commits] [lldb] r372591 - [LLDB] Remove a now redundant windows specific workaround

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:03:33 2019 New Revision: 372591 URL: http://llvm.org/viewvc/llvm-project?rev=372591&view=rev Log: [LLDB] Remove a now redundant windows specific workaround vsnprintf(NULL, 0, ...) works for measuring the needed string size on all supported Windows variants; it

[Lldb-commits] [lldb] r372592 - [LLDB] Check for _WIN32 instead of _MSC_VER for code specific to windows in general

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 05:03:56 2019 New Revision: 372592 URL: http://llvm.org/viewvc/llvm-project?rev=372592&view=rev Log: [LLDB] Check for _WIN32 instead of _MSC_VER for code specific to windows in general These ifdefs contain code that isn't specific to MSVC but useful for any wind

[Lldb-commits] [lldb] r372656 - [LLDB] Rework a MinGW build fix from D65691

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 13:43:11 2019 New Revision: 372656 URL: http://llvm.org/viewvc/llvm-project?rev=372656&view=rev Log: [LLDB] Rework a MinGW build fix from D65691 That change didn't contain any explanation for this bit. There shouldn't be any need for a check for MinGW ifdefs here

[Lldb-commits] [lldb] r372657 - [LLDB] [PECOFF] Recognize arm64 executables

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 13:43:16 2019 New Revision: 372657 URL: http://llvm.org/viewvc/llvm-project?rev=372657&view=rev Log: [LLDB] [PECOFF] Recognize arm64 executables Differential Revision: https://reviews.llvm.org/D67912 Modified: lldb/trunk/source/Plugins/ObjectFile/PECOFF/Obje

[Lldb-commits] [lldb] r372658 - [LLDB] [Windows] Map COFF ARM machine ids to the right triple architectures

2019-09-23 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Mon Sep 23 13:43:22 2019 New Revision: 372658 URL: http://llvm.org/viewvc/llvm-project?rev=372658&view=rev Log: [LLDB] [Windows] Map COFF ARM machine ids to the right triple architectures Differential Revision: https://reviews.llvm.org/D67913 Modified: lldb/trunk/sourc

[Lldb-commits] [lldb] r372700 - [LLDB] Avoid warnings about redefining posix mode defines on MinGW

2019-09-24 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Sep 24 01:39:12 2019 New Revision: 372700 URL: http://llvm.org/viewvc/llvm-project?rev=372700&view=rev Log: [LLDB] Avoid warnings about redefining posix mode defines on MinGW Since these defines were added in LLVM SVN r189364 in 2013, mingw-w64 got defines for S_I?GRP,

[Lldb-commits] [lldb] r372699 - [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures

2019-09-24 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Sep 24 01:39:06 2019 New Revision: 372699 URL: http://llvm.org/viewvc/llvm-project?rev=372699&view=rev Log: [LLDB] [Windows] Add missing ifdefs to fix building for non-x86 architectures While debugging on those architectures might not be supported yet, the generic code

[Lldb-commits] [lldb] r372739 - [LLDB] [test] Add a few missing cases of REQUIRES: python

2019-09-24 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Sep 24 05:20:33 2019 New Revision: 372739 URL: http://llvm.org/viewvc/llvm-project?rev=372739&view=rev Log: [LLDB] [test] Add a few missing cases of REQUIRES: python Differential Revision: https://reviews.llvm.org/D67952 Modified: lldb/trunk/lit/Commands/command-sc

[Lldb-commits] [lldb] r372741 - [LLDB] Add tests for PECOFF arm architecture identification

2019-09-24 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Sep 24 05:20:52 2019 New Revision: 372741 URL: http://llvm.org/viewvc/llvm-project?rev=372741&view=rev Log: [LLDB] Add tests for PECOFF arm architecture identification Add a test case for the change from SVN r372657, and for the preexisting ARM identification. Add a mi

[Lldb-commits] [lldb] r372738 - [LLDB] Fix typo in RegisterContextDarwin_arm64

2019-09-24 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Sep 24 05:20:21 2019 New Revision: 372738 URL: http://llvm.org/viewvc/llvm-project?rev=372738&view=rev Log: [LLDB] Fix typo in RegisterContextDarwin_arm64 In these cases, the register number should be calculated from fpu_d0, not fpu_s0. Differential Revision: https://r

[Lldb-commits] [lldb] r372740 - [LLDB] [test] Allow differing order of some matches

2019-09-24 Thread Martin Storsjo via lldb-commits
Author: mstorsjo Date: Tue Sep 24 05:20:38 2019 New Revision: 372740 URL: http://llvm.org/viewvc/llvm-project?rev=372740&view=rev Log: [LLDB] [test] Allow differing order of some matches These can appear in a different order depending on the relative layout of the source and build trees. Differe