This helped debugging.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Please also update the event_callbacks.c test.
| llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | ||
|---|---|---|
| 173 | Please update this comment. | |
| 377 | Rather than diverging loads/stores, can we also add the address to the load callback? | |
| 1488–1489 | Let's reuse the Int8Ptr member variable. | |
| llvm/test/Instrumentation/DataFlowSanitizer/callback.ll | ||
| 7 | The variable numbers in this test seem potentially brittle. Can we avoid matching against them? | |
| llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | ||
|---|---|---|
| 1488–1489 | That one is defined in DataFlowSanitizer. | |
| llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp | ||
|---|---|---|
| 173 | Should it be const void* instead? | |
| 1488–1489 | Yes let's use it. | |
| llvm/test/Instrumentation/DataFlowSanitizer/callback.ll | ||
| 7 | All the other ones too. Look at the other tests in this directory. They avoid specifying variable numbers since those can easily change. | |
| llvm/test/Instrumentation/DataFlowSanitizer/callback.ll | ||
|---|---|---|
| 16 | To use the variable it's just [[l]]. See https://llvm.org/docs/CommandGuide/FileCheck.html#filecheck-string-substitution-blocks. | |
| llvm/test/Instrumentation/DataFlowSanitizer/callback.ll | ||
|---|---|---|
| 16 | Done. Thank you. | |
Please update this comment.