Explicitly print 4 registers/line in each iteration during register
dump. Reduces logcat spam as we get a single logcat message per call to
Printf(), even if the output isn't newline-terminated. This brings the
output format in logcat closer to that of the normal textual dump.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 29122 Build 29121: arc lint + arc unit
Event Timeline
| compiler-rt/lib/hwasan/hwasan_report.cpp | ||
|---|---|---|
| 446 | I reckon that it may make the code easier to read if we just wrote out all the printf calls, i.e. Printf(" x0 %016llx x1 %016llx x2 %016llx x3 %016llx\n",
frame[0], frame[1], frame[2], frame[3]);and so on. What do you think? | |
Comment Actions
LGTM
| compiler-rt/lib/hwasan/hwasan_report.cpp | ||
|---|---|---|
| 450 | Nit: align to the " on the previous line (same below). | |
I reckon that it may make the code easier to read if we just wrote out all the printf calls, i.e.
Printf(" x0 %016llx x1 %016llx x2 %016llx x3 %016llx\n", frame[0], frame[1], frame[2], frame[3]);and so on. What do you think?