<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:stefan.graenitz@gmail.com" title="Stefan Gränitz <stefan.graenitz@gmail.com>"> <span class="fn">Stefan Gränitz</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - lldb built with cmake on macOS fails to debug applications"
href="https://bugs.llvm.org/show_bug.cgi?id=39750">bug 39750</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - lldb built with cmake on macOS fails to debug applications"
href="https://bugs.llvm.org/show_bug.cgi?id=39750#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - lldb built with cmake on macOS fails to debug applications"
href="https://bugs.llvm.org/show_bug.cgi?id=39750">bug 39750</a>
from <span class="vcard"><a class="email" href="mailto:stefan.graenitz@gmail.com" title="Stefan Gränitz <stefan.graenitz@gmail.com>"> <span class="fn">Stefan Gränitz</span></a>
</span></b>
<pre>As soon as my CMake changes around <a href="https://reviews.llvm.org/D55328">https://reviews.llvm.org/D55328</a> are
committed, the following should work for LLDB Standalone builds:
Directory structure:
$ROOT/lldb (master with pending CMake changes)
$ROOT/llvm/projects/compiler-rt (master)
$ROOT/llvm/projects/libcxx (master)
$ROOT/llvm/projects/libcxxabi (master)
$ROOT/llvm/tools/clang (master)
Build LLVM&co (e.g. with ninja):
$ mkdir -p $ROOT/llvm-build/release
$ cd $ROOT/llvm-build/release
$ xcrun cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host
../../llvm
$ ninja
Build standalone LLDB (e.g. with xcodebuild):
$ mkdir $ROOT/xcode-release
$ cd $ROOT/xcode-release
$ xcrun cmake -GXcode -DLLVM_TARGETS_TO_BUILD=host
-DLLVM_CONFIG=$ROOT/llvm-build/release/bin/llvm-config ../lldb
$ xcodebuild -configuration Release
Run test suite:
$ cd $/lldb/test
$ python2.7 dotest.py --executable $ROOT/xcode-release/Release/bin/lldb
--filecheck $ROOT/llvm-build/release/bin/FileCheck -C
$ROOT/llvm-build/release/bin/clang
You should be able to build other configurations and use your favorite
generator for the individual parts. As noted earlier, there are no bots that
test this setup at the moment, so feel free to fix things if they break.
Best
Stefan</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>