[llvm-bugs] [Bug 40668] New: `ninja` does not rebuild if sources change

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 8 13:25:02 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40668

            Bug ID: 40668
           Summary: `ninja` does not rebuild if sources change
           Product: lldb
           Version: unspecified
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: thelastmammoth at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm on OSX and follow the steps here: https://lldb.llvm.org/build.html

```
git clone https://github.com/llvm/llvm-project.git 
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 https://stackoverflow.com/a/32724035/1426932 to
fix this bug
https://stackoverflow.com/questions/26829119/how-to-make-lldb-ignore-exc-bad-access-exception

if i modify llvm-project/lldb/tools/debugserver/source/MacOSX/MachTask.mm
no recompilation happens; ditto with
`source/Plugins/Process/Darwin/MachException.cpp`

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190208/b9e93b16/attachment.html>


More information about the llvm-bugs mailing list