Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/hwasan/hwasan_fuchsia.cpp | ||
---|---|---|
193 | The failed check is going to print the result of the comparison followed by a stack trace which isn't particularly user friendly. I'd consider printing a more self-explanatory message followed by a call to Die() similarly to how it's done on Linux: https://github.com/llvm/llvm-project/blob/d48479791f63d96cf9d0abff56ceba0cace77623/compiler-rt/lib/hwasan/hwasan_linux.cpp#L133 |
compiler-rt/lib/hwasan/hwasan_fuchsia.cpp | ||
---|---|---|
193 | This is a bitmask to which new bits may be added in the future without changing this API. |
The failed check is going to print the result of the comparison followed by a stack trace which isn't particularly user friendly.
I'd consider printing a more self-explanatory message followed by a call to Die() similarly to how it's done on Linux: https://github.com/llvm/llvm-project/blob/d48479791f63d96cf9d0abff56ceba0cace77623/compiler-rt/lib/hwasan/hwasan_linux.cpp#L133