Skip to content

Commit

Permalink
Add clarification regarding LLVM_DEBUG and STATISTIC
Browse files Browse the repository at this point in the history
This is in relation to #20.
  • Loading branch information
banach-space committed Aug 26, 2020
1 parent 6a077d7 commit 2355cf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,9 @@ what enables the following output:
3 mba-add - The # of substituted instructions
```
As you can see, you get a nice summary from **MBAAdd**. In many cases this will
be sufficient to understand what might be going wrong.
be sufficient to understand what might be going wrong. Note that for these
macros to work you need a debug build of LLVM (i.e. **opt**) and **llvm-tutor**
(i.e. use `-DCMAKE_BUILD_TYPE=Debug` instead of `-DCMAKE_BUILD_TYPE=Release`).

For tricker issues just use a debugger. Below I demonstrate how to debug
[**MBAAdd**](#mbaadd). More specifically, how to set up a breakpoint on entry
Expand Down

0 comments on commit 2355cf7

Please sign in to comment.