<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - `ninja` does not rebuild if sources change"
href="https://bugs.llvm.org/show_bug.cgi?id=40668">40668</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>`ninja` does not rebuild if sources change
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>thelastmammoth@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I'm on OSX and follow the steps here: <a href="https://lldb.llvm.org/build.html">https://lldb.llvm.org/build.html</a>
```
git clone <a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
cd llvm-project
mkdir build
cd build
cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS='clang;lldb'
ninja lldb
```
this works, but then if I change sources [1], nothing is rebuilt after `ninja
lldb`, which completes almost immediately:
```
ninja lldb
[1/1] Python script sym-linking LLDB Python API
```
## note:
here's the change I was trying to make:
* trying to apply this patch <a href="https://stackoverflow.com/a/32724035/1426932">https://stackoverflow.com/a/32724035/1426932</a> to
fix this bug
<a href="https://stackoverflow.com/questions/26829119/how-to-make-lldb-ignore-exc-bad-access-exception">https://stackoverflow.com/questions/26829119/how-to-make-lldb-ignore-exc-bad-access-exception</a>
if i modify llvm-project/lldb/tools/debugserver/source/MacOSX/MachTask.mm
no recompilation happens; ditto with
`source/Plugins/Process/Darwin/MachException.cpp`</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>