[Lldb-commits] [lldb] r372213 - [lldb][CMake] Build LLDB.framework with -Wdocumentation in Xcode

2019-09-18 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Sep 18 03:41:13 2019 New Revision: 372213 URL: http://llvm.org/viewvc/llvm-project?rev=372213=rev Log: [lldb][CMake] Build LLDB.framework with -Wdocumentation in Xcode Modified: lldb/trunk/cmake/modules/LLDBFramework.cmake Modified:

[Lldb-commits] [lldb] r372210 - [lldb][CMake] Infer `Clang_DIR` if not passed explicitly

2019-09-18 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Sep 18 03:20:28 2019 New Revision: 372210 URL: http://llvm.org/viewvc/llvm-project?rev=372210=rev Log: [lldb][CMake] Infer `Clang_DIR` if not passed explicitly Summary: If we only get `LLVM_DIR` and find Clang in the same provided build-tree, automatically

[Lldb-commits] [lldb] r368294 - [lldb][CMake] Disable modules in Xcode projects

2019-08-08 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Aug 8 06:39:25 2019 New Revision: 368294 URL: http://llvm.org/viewvc/llvm-project?rev=368294=rev Log: [lldb][CMake] Disable modules in Xcode projects Summary: Apparently, module-enabled builds clash with Xcode's analysis. Reviewers: aprantl, jingham, davide,

[Lldb-commits] [lldb] r368151 - [lldb][CMake] Workaround debugserver code-signing issue in generated Xcode project

2019-08-07 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Aug 7 04:02:04 2019 New Revision: 368151 URL: http://llvm.org/viewvc/llvm-project?rev=368151=rev Log: [lldb][CMake] Workaround debugserver code-signing issue in generated Xcode project Summary: Explicitly code-sign the LLDB.framework copy of debugserver in the

[Lldb-commits] [lldb] r368148 - [lldb][CMake] Fix one more detail in r368066

2019-08-07 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Aug 7 03:47:49 2019 New Revision: 368148 URL: http://llvm.org/viewvc/llvm-project?rev=368148=rev Log: [lldb][CMake] Fix one more detail in r368066 Differential Revision: https://reviews.llvm.org/D65797 Modified:

[Lldb-commits] [lldb] r368143 - [lldb][NFC] Fix typo in 368066

2019-08-07 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Aug 7 03:03:11 2019 New Revision: 368143 URL: http://llvm.org/viewvc/llvm-project?rev=368143=rev Log: [lldb][NFC] Fix typo in 368066 Differential Revision: https://reviews.llvm.org/D65797 Modified: lldb/trunk/cmake/modules/LLDBConfig.cmake Modified:

[Lldb-commits] [lldb] r368066 - [lldb][CMake] Generating Xcode projects

2019-08-06 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Aug 6 10:21:34 2019 New Revision: 368066 URL: http://llvm.org/viewvc/llvm-project?rev=368066=rev Log: [lldb][CMake] Generating Xcode projects Summary: Print a warning if the wrong cache script is used when generating a Xcode project, because it's too easy to

[Lldb-commits] [lldb] r367539 - [lldb][docs] Update landing page for monorepo

2019-08-01 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Aug 1 03:33:54 2019 New Revision: 367539 URL: http://llvm.org/viewvc/llvm-project?rev=367539=rev Log: [lldb][docs] Update landing page for monorepo Summary: Following up from D65330, here's an update for the landing page. Reviewers: jryans, clayborg, amccarth,

[Lldb-commits] [lldb] r367538 - [lldb][CMake] Avoid 'Autogenerate scheme' dialogs in Xcode projects

2019-08-01 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Aug 1 03:33:44 2019 New Revision: 367538 URL: http://llvm.org/viewvc/llvm-project?rev=367538=rev Log: [lldb][CMake] Avoid 'Autogenerate scheme' dialogs in Xcode projects Summary: Supported in CMake 3.9 and higher:

[Lldb-commits] [lldb] r367407 - [lldb][docs] Add CMake version notes for -B flag

2019-07-31 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 31 03:31:57 2019 New Revision: 367407 URL: http://llvm.org/viewvc/llvm-project?rev=367407=rev Log: [lldb][docs] Add CMake version notes for -B flag The original documentation update was reviewed with D65330 Modified: lldb/trunk/docs/_static/lldb.css

[Lldb-commits] [lldb] r367302 - [lldb][docs] Update documentation for monorepo and CMake caches

2019-07-30 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jul 30 03:21:28 2019 New Revision: 367302 URL: http://llvm.org/viewvc/llvm-project?rev=367302=rev Log: [lldb][docs] Update documentation for monorepo and CMake caches Summary: The lldb build system made good progress in the last months, but documentation was

[Lldb-commits] [lldb] r367005 - [lldb][CMake] Fix framework-enabled build detail for Xcode

2019-07-25 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jul 25 03:47:49 2019 New Revision: 367005 URL: http://llvm.org/viewvc/llvm-project?rev=367005=rev Log: [lldb][CMake] Fix framework-enabled build detail for Xcode If debugserver or any other framework tool gets built first, its post-build copy operation was

[Lldb-commits] [lldb] r366932 - [lldb] Configure debugserver_vers.c from CMake

2019-07-24 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 24 10:28:24 2019 New Revision: 366932 URL: http://llvm.org/viewvc/llvm-project?rev=366932=rev Log: [lldb] Configure debugserver_vers.c from CMake Added: lldb/trunk/tools/debugserver/source/debugserver_vers.c.in Modified:

[Lldb-commits] [lldb] r366879 - [lldb] Remove Xcode project legacy

2019-07-24 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 24 02:20:14 2019 New Revision: 366879 URL: http://llvm.org/viewvc/llvm-project?rev=366879=rev Log: [lldb] Remove Xcode project legacy Summary: Since D65109 removed the manually maintained Xcode project, there's a few things we don't need anymore. Anything

[Lldb-commits] [lldb] r366631 - [CMake] Align debugserver with lldb-server on Darwin

2019-07-20 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Sat Jul 20 04:18:31 2019 New Revision: 366631 URL: http://llvm.org/viewvc/llvm-project?rev=366631=rev Log: [CMake] Align debugserver with lldb-server on Darwin Summary: Make debugserver a tool like lldb-server, so it can be included/excluded via

[Lldb-commits] [lldb] r366560 - [NFC] Remove indent after r366433

2019-07-19 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jul 19 03:20:35 2019 New Revision: 366560 URL: http://llvm.org/viewvc/llvm-project?rev=366560=rev Log: [NFC] Remove indent after r366433 Modified: lldb/trunk/tools/debugserver/source/CMakeLists.txt Modified:

[Lldb-commits] [lldb] r366459 - [CMake] Polish folders in generated Xcode project

2019-07-18 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jul 18 09:44:45 2019 New Revision: 366459 URL: http://llvm.org/viewvc/llvm-project?rev=366459=rev Log: [CMake] Polish folders in generated Xcode project Summary: Group plugins by subfolder. Move liblldb-resource-headers to `lldb misc`. Avoid

[Lldb-commits] [lldb] r366433 - [CMake] Always build debugserver on Darwin and allow tests to use the system's one

2019-07-18 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jul 18 06:30:37 2019 New Revision: 366433 URL: http://llvm.org/viewvc/llvm-project?rev=366433=rev Log: [CMake] Always build debugserver on Darwin and allow tests to use the system's one Summary: We can always build debugserver, but we can't always sign it to be

[Lldb-commits] [lldb] r366350 - [CMake] Avoid liblldb genex when figuring out the copy destination for framework tools

2019-07-17 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 17 10:14:40 2019 New Revision: 366350 URL: http://llvm.org/viewvc/llvm-project?rev=366350=rev Log: [CMake] Avoid liblldb genex when figuring out the copy destination for framework tools This genex created an order-only dependency to liblldb for every

[Lldb-commits] [lldb] r366226 - [CMake] Add Apple-lldb-Xcode.cmake cache that avoids install options

2019-07-16 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jul 16 09:57:45 2019 New Revision: 366226 URL: http://llvm.org/viewvc/llvm-project?rev=366226=rev Log: [CMake] Add Apple-lldb-Xcode.cmake cache that avoids install options Added: lldb/trunk/cmake/caches/Apple-lldb-Xcode.cmake Added:

[Lldb-commits] [lldb] r365651 - [CMake][NFC] Remove dead code lldb_append_link_flags() from AddLLDB.cmake

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 09:02:46 2019 New Revision: 365651 URL: http://llvm.org/viewvc/llvm-project?rev=365651=rev Log: [CMake][NFC] Remove dead code lldb_append_link_flags() from AddLLDB.cmake Modified: lldb/trunk/cmake/modules/AddLLDB.cmake Modified:

[Lldb-commits] [lldb] r365648 - [CMake] Polish Apple-lldb caches

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 08:59:50 2019 New Revision: 365648 URL: http://llvm.org/viewvc/llvm-project?rev=365648=rev Log: [CMake] Polish Apple-lldb caches Modified: lldb/trunk/cmake/caches/Apple-lldb-base.cmake lldb/trunk/cmake/caches/Apple-lldb-macOS.cmake Modified:

[Lldb-commits] [lldb] r365650 - [CMake][NFC] Polish comments in AddLLDB.cmake

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 09:00:03 2019 New Revision: 365650 URL: http://llvm.org/viewvc/llvm-project?rev=365650=rev Log: [CMake][NFC] Polish comments in AddLLDB.cmake Modified: lldb/trunk/cmake/modules/AddLLDB.cmake Modified: lldb/trunk/cmake/modules/AddLLDB.cmake URL:

[Lldb-commits] [lldb] r365649 - [CMake] Add Apple-lldb-Linux.cmake cache

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 08:59:56 2019 New Revision: 365649 URL: http://llvm.org/viewvc/llvm-project?rev=365649=rev Log: [CMake] Add Apple-lldb-Linux.cmake cache Added: lldb/trunk/cmake/caches/Apple-lldb-Linux.cmake Added: lldb/trunk/cmake/caches/Apple-lldb-Linux.cmake URL:

[Lldb-commits] [lldb] r365617 - [CMake] `install-distribution` for LLDB on Darwin

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 04:09:29 2019 New Revision: 365617 URL: http://llvm.org/viewvc/llvm-project?rev=365617=rev Log: [CMake] `install-distribution` for LLDB on Darwin Summary: There's a number of requirements for installing LLDB on macOS that are untypical for LLVM projects:

[Lldb-commits] [lldb] r365616 - [CMake] Distribution builds for LLDB standalone

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 04:09:11 2019 New Revision: 365616 URL: http://llvm.org/viewvc/llvm-project?rev=365616=rev Log: [CMake] Distribution builds for LLDB standalone Summary: Enable `distribution` and `install-distribution` targets in LLDB standalone and pre-populate the

[Lldb-commits] [lldb] r365615 - [CMake] Remove extra lldb-framework target

2019-07-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 10 04:09:01 2019 New Revision: 365615 URL: http://llvm.org/viewvc/llvm-project?rev=365615=rev Log: [CMake] Remove extra lldb-framework target Summary: The custom lldb-framework target was meant to encapsulate all build steps that LLDB.framework needs on top

[Lldb-commits] [lldb] r365459 - [CMake] Polish a comment

2019-07-09 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jul 9 03:29:07 2019 New Revision: 365459 URL: http://llvm.org/viewvc/llvm-project?rev=365459=rev Log: [CMake] Polish a comment Modified: lldb/trunk/cmake/modules/LLDBFramework.cmake Modified: lldb/trunk/cmake/modules/LLDBFramework.cmake URL:

[Lldb-commits] [lldb] r365458 - [CMake] Don't initialize LLVM_INSTALL_TOOLCHAIN_ONLY in Apple-lldb-base cache

2019-07-09 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jul 9 03:29:00 2019 New Revision: 365458 URL: http://llvm.org/viewvc/llvm-project?rev=365458=rev Log: [CMake] Don't initialize LLVM_INSTALL_TOOLCHAIN_ONLY in Apple-lldb-base cache Modified: lldb/trunk/cmake/caches/Apple-lldb-base.cmake Modified:

[Lldb-commits] [lldb] r365457 - [CMake] Remove old lldb_setup_framework_rpaths_in_tool()

2019-07-09 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jul 9 03:28:53 2019 New Revision: 365457 URL: http://llvm.org/viewvc/llvm-project?rev=365457=rev Log: [CMake] Remove old lldb_setup_framework_rpaths_in_tool() Modified: lldb/trunk/cmake/modules/AddLLDB.cmake Modified: lldb/trunk/cmake/modules/AddLLDB.cmake

[Lldb-commits] [lldb] r365038 - [CMake] Avoid libcxxabi dependency when building LLDB from the monorepo on macOS

2019-07-03 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 3 06:21:48 2019 New Revision: 365038 URL: http://llvm.org/viewvc/llvm-project?rev=365038=rev Log: [CMake] Avoid libcxxabi dependency when building LLDB from the monorepo on macOS libc++abi became mandatory to link the libc++ binaries. LLDB only needs the

[Lldb-commits] [lldb] r363821 - Specify log level for CMake messages (less stderr)

2019-06-19 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jun 19 08:25:32 2019 New Revision: 363821 URL: http://llvm.org/viewvc/llvm-project?rev=363821=rev Log: Specify log level for CMake messages (less stderr) Summary: Specify message levels in CMake. Prefer STATUS (stdout). As the default message mode (i.e. level)

[Lldb-commits] [lldb] r363279 - [CMake] Fix lldb-dotest for single-config generators in standalone builds

2019-06-13 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jun 13 10:35:43 2019 New Revision: 363279 URL: http://llvm.org/viewvc/llvm-project?rev=363279=rev Log: [CMake] Fix lldb-dotest for single-config generators in standalone builds Differential Revision: https://reviews.llvm.org/D62859 Modified:

[Lldb-commits] [lldb] r363280 - [CMake] Fix generated Xcode-project ignoring output directory setting for LLDB.framework

2019-06-13 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jun 13 10:35:50 2019 New Revision: 363280 URL: http://llvm.org/viewvc/llvm-project?rev=363280=rev Log: [CMake] Fix generated Xcode-project ignoring output directory setting for LLDB.framework Other generators honor the `LIBRARY_OUTPUT_DIRECTORY` target

[Lldb-commits] [lldb] r363271 - [CMake] Add fallbacks for copying clang-resource-headers to LLDB.framework in standalone builds

2019-06-13 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jun 13 08:07:56 2019 New Revision: 363271 URL: http://llvm.org/viewvc/llvm-project?rev=363271=rev Log: [CMake] Add fallbacks for copying clang-resource-headers to LLDB.framework in standalone builds Modified: lldb/trunk/cmake/modules/LLDBFramework.cmake

[Lldb-commits] [lldb] r363172 - [lldb] Ignore null frames in lldb.macosx crashlog

2019-06-12 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jun 12 07:46:37 2019 New Revision: 363172 URL: http://llvm.org/viewvc/llvm-project?rev=363172=rev Log: [lldb] Ignore null frames in lldb.macosx crashlog Modified: lldb/trunk/examples/python/crashlog.py Modified: lldb/trunk/examples/python/crashlog.py URL:

[Lldb-commits] [lldb] r363171 - [CMake] Two extra FOLDER properties for debugserver

2019-06-12 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jun 12 07:46:30 2019 New Revision: 363171 URL: http://llvm.org/viewvc/llvm-project?rev=363171=rev Log: [CMake] Two extra FOLDER properties for debugserver Modified: lldb/trunk/tools/debugserver/source/CMakeLists.txt Modified:

[Lldb-commits] [lldb] r362803 - [CMake] Add special case for processing LLDB_DOTEST_ARGS

2019-06-07 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jun 7 07:32:51 2019 New Revision: 362803 URL: http://llvm.org/viewvc/llvm-project?rev=362803=rev Log: [CMake] Add special case for processing LLDB_DOTEST_ARGS Summary: Allow to run the test suite when building LLDB Standalone with Xcode against a provided LLVM

[Lldb-commits] [lldb] r362589 - [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds

2019-06-05 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jun 5 01:31:50 2019 New Revision: 362589 URL: http://llvm.org/viewvc/llvm-project?rev=362589=rev Log: [CMake] Add configuration dirs as potential locations for llvm-lit and llvm-tblgen in standalone builds Summary: If the provided LLVM build-tree used a

[Lldb-commits] [lldb] r362500 - [CMake] Move and add settings to Apple-lldb-base cache script

2019-06-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jun 4 07:21:48 2019 New Revision: 362500 URL: http://llvm.org/viewvc/llvm-project?rev=362500=rev Log: [CMake] Move and add settings to Apple-lldb-base cache script Modified: lldb/trunk/cmake/caches/Apple-lldb-base.cmake

[Lldb-commits] [lldb] r361947 - [CMake] Remove lldb-server from LLDB.framework

2019-05-29 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed May 29 04:28:11 2019 New Revision: 361947 URL: http://llvm.org/viewvc/llvm-project?rev=361947=rev Log: [CMake] Remove lldb-server from LLDB.framework Summary: The LLDB test suite doesn't need lldb-server in the framework bundle anymore. Reviewers:

[Lldb-commits] [lldb] r361946 - [CMake] LLDB.framework tools handling

2019-05-29 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed May 29 04:26:06 2019 New Revision: 361946 URL: http://llvm.org/viewvc/llvm-project?rev=361946=rev Log: [CMake] LLDB.framework tools handling Summary: Modify the way LLDB.framework tools are collected. This allows for better fine-tuning of the install behavior

[Lldb-commits] [lldb] r361799 - [CMake] Folder structure for generated Xcode project to cover more targets

2019-05-28 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue May 28 02:29:05 2019 New Revision: 361799 URL: http://llvm.org/viewvc/llvm-project?rev=361799=rev Log: [CMake] Folder structure for generated Xcode project to cover more targets Modified: lldb/trunk/CMakeLists.txt lldb/trunk/cmake/modules/AddLLDB.cmake

[Lldb-commits] [lldb] r361068 - [CMake] Inline info plist in lldb driver

2019-05-17 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri May 17 12:19:34 2019 New Revision: 361068 URL: http://llvm.org/viewvc/llvm-project?rev=361068=rev Log: [CMake] Inline info plist in lldb driver Modified: lldb/trunk/tools/driver/CMakeLists.txt Modified: lldb/trunk/tools/driver/CMakeLists.txt URL:

[Lldb-commits] [lldb] r361069 - [CMake] Add first CMake cache files

2019-05-17 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri May 17 12:19:41 2019 New Revision: 361069 URL: http://llvm.org/viewvc/llvm-project?rev=361069=rev Log: [CMake] Add first CMake cache files Summary: CMake cache scripts pre-populate the CMakeCache in a build directory with commonly used settings. The CMake

[Lldb-commits] [lldb] r360354 - [JITLoaderGDB] Set eTypeJIT for objects read from JIT descriptors

2019-05-09 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu May 9 09:40:57 2019 New Revision: 360354 URL: http://llvm.org/viewvc/llvm-project?rev=360354=rev Log: [JITLoaderGDB] Set eTypeJIT for objects read from JIT descriptors Summary: First part of a fix for JITed code debugging. This has been a regression from 5.0

[Lldb-commits] [lldb] r358686 - [CMake] Emit LLDB.framework.dSYM to avoid potential name collision with driver's lldb.dSYM

2019-04-18 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Apr 18 09:37:22 2019 New Revision: 358686 URL: http://llvm.org/viewvc/llvm-project?rev=358686=rev Log: [CMake] Emit LLDB.framework.dSYM to avoid potential name collision with driver's lldb.dSYM Summary: Emit framework's dSYM bundle as LLDB.framework.dSYM

[Lldb-commits] [lldb] r355931 - Revert "[CMake] Avoid clang-tablegen-targets dependency when building sphinx docs (experimental)"

2019-03-12 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Mar 12 08:54:35 2019 New Revision: 355931 URL: http://llvm.org/viewvc/llvm-project?rev=355931=rev Log: Revert "[CMake] Avoid clang-tablegen-targets dependency when building sphinx docs (experimental)" This reverts commit

[Lldb-commits] [lldb] r354145 - Fix potential UB when target_file directory is null

2019-02-15 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Feb 15 08:42:29 2019 New Revision: 354145 URL: http://llvm.org/viewvc/llvm-project?rev=354145=rev Log: Fix potential UB when target_file directory is null Summary: As seen in a crash report, the C-string returned for the directory component of `target_file` can

[Lldb-commits] [lldb] r354037 - [CMake] Fix RPATH handling for LLDB.framework

2019-02-14 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Feb 14 09:34:39 2019 New Revision: 354037 URL: http://llvm.org/viewvc/llvm-project?rev=354037=rev Log: [CMake] Fix RPATH handling for LLDB.framework Summary: Generator expressions are not supported in the `BUILD_RPATH` target property. `BUILD_RPATH` is only

[Lldb-commits] [lldb] r353174 - Update Xcode project after r353047

2019-02-05 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Feb 5 06:41:26 2019 New Revision: 353174 URL: http://llvm.org/viewvc/llvm-project?rev=353174=rev Log: Update Xcode project after r353047 Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL:

[Lldb-commits] [lldb] r352902 - Fix the xcode build for r352845, attempt #2

2019-02-01 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Feb 1 11:31:02 2019 New Revision: 352902 URL: http://llvm.org/viewvc/llvm-project?rev=352902=rev Log: Fix the xcode build for r352845, attempt #2 Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL:

[Lldb-commits] [lldb] r352901 - Revert "Fix the xcode build for r352845."

2019-02-01 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Feb 1 11:30:57 2019 New Revision: 352901 URL: http://llvm.org/viewvc/llvm-project?rev=352901=rev Log: Revert "Fix the xcode build for r352845." This reverts commit 72c1213a5e901b80c0f1d2794e5088d7f71a3632. Modified:

[Lldb-commits] [lldb] r352629 - [CMake] Accept entitlements for code signing in add_lldb_library()

2019-01-30 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jan 30 07:13:16 2019 New Revision: 352629 URL: http://llvm.org/viewvc/llvm-project?rev=352629=rev Log: [CMake] Accept entitlements for code signing in add_lldb_library() Summary: D57334 added entitlements support in `add_llvm_library()` so we can use it for

[Lldb-commits] [lldb] r352388 - [CMake] Add code signing for lldb-server on iOS

2019-01-28 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Jan 28 08:57:23 2019 New Revision: 352388 URL: http://llvm.org/viewvc/llvm-project?rev=352388=rev Log: [CMake] Add code signing for lldb-server on iOS Modified: lldb/trunk/tools/lldb-server/CMakeLists.txt Modified:

[Lldb-commits] [lldb] r352387 - [CMake] Dump LLDB.framework tools at configuration time

2019-01-28 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Jan 28 08:57:19 2019 New Revision: 352387 URL: http://llvm.org/viewvc/llvm-project?rev=352387=rev Log: [CMake] Dump LLDB.framework tools at configuration time Modified: lldb/trunk/cmake/modules/LLDBFramework.cmake Modified:

[Lldb-commits] [lldb] r352382 - [CMake] Quick-Fix targets don't exist when building against LLVM install-tree with LLDB_INCLUDE_TESTS=ON

2019-01-28 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Jan 28 08:15:27 2019 New Revision: 352382 URL: http://llvm.org/viewvc/llvm-project?rev=352382=rev Log: [CMake] Quick-Fix targets don't exist when building against LLVM install-tree with LLDB_INCLUDE_TESTS=ON The issue came up during release testing for LLVM 8:

[Lldb-commits] [lldb] r352058 - [CMake] Get back some variables used in AddLLVM.cmake

2019-01-24 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Jan 24 08:02:21 2019 New Revision: 352058 URL: http://llvm.org/viewvc/llvm-project?rev=352058=rev Log: [CMake] Get back some variables used in AddLLVM.cmake This fixes 'gtest/gtest.h' file not found when building unit tests after r351863. Modified:

[Lldb-commits] [lldb] r351879 - [CMake] Fix two details from r351863

2019-01-22 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jan 22 13:14:51 2019 New Revision: 351879 URL: http://llvm.org/viewvc/llvm-project?rev=351879=rev Log: [CMake] Fix two details from r351863 Modified: lldb/trunk/cmake/modules/LLDBStandalone.cmake Modified: lldb/trunk/cmake/modules/LLDBStandalone.cmake URL:

[Lldb-commits] [lldb] r351830 - [CMake] Turn LLDB_FRAMEWORK_TOOLS into STRING to allow overrides from cache files

2019-01-22 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Jan 22 07:59:47 2019 New Revision: 351830 URL: http://llvm.org/viewvc/llvm-project?rev=351830=rev Log: [CMake] Turn LLDB_FRAMEWORK_TOOLS into STRING to allow overrides from cache files Modified: lldb/trunk/cmake/modules/LLDBConfig.cmake Modified:

[Lldb-commits] [lldb] r351037 - [CMake] LLVM exports utility targets since r350959, so we can use them without standalone-checks now

2019-01-14 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Jan 14 01:24:50 2019 New Revision: 351037 URL: http://llvm.org/viewvc/llvm-project?rev=351037=rev Log: [CMake] LLVM exports utility targets since r350959, so we can use them without standalone-checks now Modified: lldb/trunk/lit/CMakeLists.txt Modified:

[Lldb-commits] [lldb] r350945 - [CMake] Include tests by default also in standalone builds

2019-01-11 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 11 10:11:04 2019 New Revision: 350945 URL: http://llvm.org/viewvc/llvm-project?rev=350945=rev Log: [CMake] Include tests by default also in standalone builds In-tree builds include tests by default. Standalone builds should behave the same. Modified:

[Lldb-commits] [lldb] r350937 - [CMake] Remove dead code and outdated comments

2019-01-11 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 11 09:51:33 2019 New Revision: 350937 URL: http://llvm.org/viewvc/llvm-project?rev=350937=rev Log: [CMake] Remove dead code and outdated comments Summary: All of these changes are NOPs. Reviewers: stella.stamenova, labath, JDevlieghere Reviewed By:

[Lldb-commits] [lldb] r350738 - [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory

2019-01-09 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jan 9 08:25:37 2019 New Revision: 350738 URL: http://llvm.org/viewvc/llvm-project?rev=350738=rev Log: [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory Summary: In standalone builds `LLVM_BINARY_DIR` was equal to

[Lldb-commits] [lldb] r350737 - [CMake] Fix standalone builds: workaround the cxx target not getting imported yet (unlike clang target)

2019-01-09 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jan 9 08:25:31 2019 New Revision: 350737 URL: http://llvm.org/viewvc/llvm-project?rev=350737=rev Log: [CMake] Fix standalone builds: workaround the cxx target not getting imported yet (unlike clang target) Summary: Handle standalone builds separately and print

[Lldb-commits] [lldb] r350538 - [CMake] Fix standalone builds: make dependency to LLVM's `count` conditional

2019-01-07 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Jan 7 08:43:04 2019 New Revision: 350538 URL: http://llvm.org/viewvc/llvm-project?rev=350538=rev Log: [CMake] Fix standalone builds: make dependency to LLVM's `count` conditional Summary: In standalone builds of LLDB we currently have no target `count` that

[Lldb-commits] [lldb] r350392 - [CMake] Revised RPATH handling

2019-01-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 4 04:46:57 2019 New Revision: 350392 URL: http://llvm.org/viewvc/llvm-project?rev=350392=rev Log: [CMake] Revised RPATH handling Summary: If we build LLDB.framework, dependant tools need appropriate RPATHs in both locations, the build-tree (for testing)

[Lldb-commits] [lldb] r350393 - [CMake] Python bindings generation polishing

2019-01-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 4 04:47:02 2019 New Revision: 350393 URL: http://llvm.org/viewvc/llvm-project?rev=350393=rev Log: [CMake] Python bindings generation polishing Summary: Simplify SWIG invocation and handling of generated files. The `swig_wrapper` target can generate

[Lldb-commits] [lldb] r350390 - [CMake] Move debugserver options to separate debugserverConfig.cmake

2019-01-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 4 04:46:38 2019 New Revision: 350390 URL: http://llvm.org/viewvc/llvm-project?rev=350390=rev Log: [CMake] Move debugserver options to separate debugserverConfig.cmake Summary: One place for debugserver options, analog to LLDBConfig for LLDB options (see

[Lldb-commits] [lldb] r350391 - [CMake] Revised LLDB.framework builds

2019-01-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 4 04:46:50 2019 New Revision: 350391 URL: http://llvm.org/viewvc/llvm-project?rev=350391=rev Log: [CMake] Revised LLDB.framework builds Summary: Add features to LLDB CMake builds that have so far only been available in Xcode. Clean up a few inconveniences

[Lldb-commits] [lldb] r350388 - [CMake] Streamline code signing for debugserver #2

2019-01-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 4 04:46:30 2019 New Revision: 350388 URL: http://llvm.org/viewvc/llvm-project?rev=350388=rev Log: [CMake] Streamline code signing for debugserver #2 Summary: Major fixes after D54476 (use Diff1 as base for comparison to see only recent changes): * In

[Lldb-commits] [lldb] r350389 - [CMake] Aggregate options for LLDB in LLDBConfig.cmake

2019-01-04 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Jan 4 04:46:34 2019 New Revision: 350389 URL: http://llvm.org/viewvc/llvm-project?rev=350389=rev Log: [CMake] Aggregate options for LLDB in LLDBConfig.cmake Summary: In preparation for LLDB.framework changes, collect options for LLDB in LLDBConfig.cmake (used

[Lldb-commits] [lldb] r348360 - [CMake] Fix side-effect from LLDB_VERSION change in r346668 for framework-enabled builds

2018-12-05 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Dec 5 04:18:44 2018 New Revision: 348360 URL: http://llvm.org/viewvc/llvm-project?rev=348360=rev Log: [CMake] Fix side-effect from LLDB_VERSION change in r346668 for framework-enabled builds Modified: lldb/trunk/CMakeLists.txt

[Lldb-commits] [lldb] r347869 - [CMake] Fix standalone build for debugserver on macOS

2018-11-29 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Thu Nov 29 06:51:49 2018 New Revision: 347869 URL: http://llvm.org/viewvc/llvm-project?rev=347869=rev Log: [CMake] Fix standalone build for debugserver on macOS Summary: Quick-fix to avoid CMake config issue: ``` CMake Error at

[Lldb-commits] [lldb] r347305 - [CMake] Streamline code signing for debugserver and pass entitlements to extended llvm_codesign

2018-11-20 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Nov 20 06:10:33 2018 New Revision: 347305 URL: http://llvm.org/viewvc/llvm-project?rev=347305=rev Log: [CMake] Streamline code signing for debugserver and pass entitlements to extended llvm_codesign Summary: Use llvm_codesign to sign debugserver with

[Lldb-commits] [lldb] r346668 - [CMake] Allow version overrides with -DLLDB_VERSION_MAJOR/MINOR/PATCH/SUFFIX

2018-11-12 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Nov 12 08:22:28 2018 New Revision: 346668 URL: http://llvm.org/viewvc/llvm-project?rev=346668=rev Log: [CMake] Allow version overrides with -DLLDB_VERSION_MAJOR/MINOR/PATCH/SUFFIX Summary: This follows the approach in Clang. If no overrides are given,

[Lldb-commits] [lldb] r346667 - [CMake] Fix: add_host_subdirectory source/Host/macosx

2018-11-12 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Nov 12 08:22:24 2018 New Revision: 346667 URL: http://llvm.org/viewvc/llvm-project?rev=346667=rev Log: [CMake] Fix: add_host_subdirectory source/Host/macosx Summary: Typo introduced with https://reviews.llvm.org/D47929 Reviewers: teemperor Subscribers: mgorny,

[Lldb-commits] [lldb] r343860 - TestMultilineExpr: validate evaluation for expressions that span multiple lines

2018-10-05 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Oct 5 09:49:53 2018 New Revision: 343860 URL: http://llvm.org/viewvc/llvm-project?rev=343860=rev Log: TestMultilineExpr: validate evaluation for expressions that span multiple lines Summary: When LLDB successfully parses a command (like "expression" in this

[Lldb-commits] [lldb] r343859 - Add EchoCommentCommands to CommandInterpreterRunOptions in addition to the existing EchoCommands and expose both as interpreter settings.

2018-10-05 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Oct 5 09:49:47 2018 New Revision: 343859 URL: http://llvm.org/viewvc/llvm-project?rev=343859=rev Log: Add EchoCommentCommands to CommandInterpreterRunOptions in addition to the existing EchoCommands and expose both as interpreter settings. Summary: Add

[Lldb-commits] [lldb] r340168 - Fix lit.cfg for python3: can only concatenate str (not "bytes") to str

2018-08-20 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Aug 20 05:37:54 2018 New Revision: 340168 URL: http://llvm.org/viewvc/llvm-project?rev=340168=rev Log: Fix lit.cfg for python3: can only concatenate str (not "bytes") to str Modified: lldb/trunk/lit/lit.cfg Modified: lldb/trunk/lit/lit.cfg URL:

[Lldb-commits] [lldb] r339716 - Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first

2018-08-14 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Aug 14 12:38:54 2018 New Revision: 339716 URL: http://llvm.org/viewvc/llvm-project?rev=339716=rev Log: Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first Modified: lldb/trunk/source/Utility/ConstString.cpp

[Lldb-commits] [lldb] r339671 - Remove unused FastDemangle sources

2018-08-14 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Aug 14 04:32:51 2018 New Revision: 339671 URL: http://llvm.org/viewvc/llvm-project?rev=339671=rev Log: Remove unused FastDemangle sources Removed: lldb/trunk/include/lldb/Utility/FastDemangle.h lldb/trunk/source/Utility/FastDemangle.cpp Modified:

[Lldb-commits] [lldb] r339669 - Fix: ConstString::GetConstCStringAndSetMangledCounterPart() should update the value if the key exists already

2018-08-14 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Tue Aug 14 04:07:18 2018 New Revision: 339669 URL: http://llvm.org/viewvc/llvm-project?rev=339669=rev Log: Fix: ConstString::GetConstCStringAndSetMangledCounterPart() should update the value if the key exists already Summary: This issue came up because it caused

[Lldb-commits] [lldb] r339583 - Straight forward FastDemangle replacement in SubsPrimitiveParmItanium

2018-08-13 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Mon Aug 13 09:45:06 2018 New Revision: 339583 URL: http://llvm.org/viewvc/llvm-project?rev=339583=rev Log: Straight forward FastDemangle replacement in SubsPrimitiveParmItanium Summary: Removing FastDemangle will greatly reduce maintenance efforts. This patch

[Lldb-commits] [lldb] r339440 - RichManglingContext: Make m_ipd_str_len a local variable and simplify processIPDStrResult + polishing in test and Mangled

2018-08-10 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Fri Aug 10 08:21:33 2018 New Revision: 339440 URL: http://llvm.org/viewvc/llvm-project?rev=339440=rev Log: RichManglingContext: Make m_ipd_str_len a local variable and simplify processIPDStrResult + polishing in test and Mangled Modified:

[Lldb-commits] [lldb] r339291 - Use rich mangling information in Symtab::InitNameIndexes()

2018-08-08 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Aug 8 14:57:37 2018 New Revision: 339291 URL: http://llvm.org/viewvc/llvm-project?rev=339291=rev Log: Use rich mangling information in Symtab::InitNameIndexes() Summary: I set up a new review, because not all the code I touched was marked as a change in old

[Lldb-commits] [lldb] r339292 - Add ConstString test FromMidOfBufferStringRef

2018-08-08 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Aug 8 14:57:42 2018 New Revision: 339292 URL: http://llvm.org/viewvc/llvm-project?rev=339292=rev Log: Add ConstString test FromMidOfBufferStringRef Summary: It was not immediately clear to me whether or not non-null-terminated StringRef's are supported in

[Lldb-commits] [lldb] r337931 - Use LLVM's new ItaniumPartialDemangler in LLDB

2018-07-25 Thread Stefan Granitz via lldb-commits
Author: stefan.graenitz Date: Wed Jul 25 08:19:04 2018 New Revision: 337931 URL: http://llvm.org/viewvc/llvm-project?rev=337931=rev Log: Use LLVM's new ItaniumPartialDemangler in LLDB Summary: Replace the existing combination of FastDemangle and the fallback to llvm::itaniumDemangle() with