Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/sanitizer_common/sanitizer_linux.cc | ||
---|---|---|
808 ↗ | (On Diff #18910) | Looks like you need a named constant for 544 (maybe, in sanitizer_platform_limits_posix.h). Is it possible to calculate it in sanitizer_platform_limits_posix.cc by using offsetof() ? |
Comment Actions
Is it possible to calculate it in sanitizer_platform_limits_posix.cc by using offsetof() ?
The Obj_Entry structure is defined in rtld's internals and have a lot of members so it doesn't seem reasonable to replicate its definition in sanitizers sources.
lib/sanitizer_common/sanitizer_common_interceptors.inc | ||
---|---|---|
88 ↗ | (On Diff #18946) | Should these macros expand into do {} while(0)? |
Comment Actions
Looks ok.
lib/sanitizer_common/sanitizer_common_interceptors.inc | ||
---|---|---|
88 ↗ | (On Diff #18946) | They could. |