They happen to work out of the box.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
While there, sanitizer_platform_limits_posix.h shall be divided with Darwin and renamed to sanitizer_platform_limits_linux.h. It's beyond this commit, but better to do it sooner than later.
Comment Actions
Is the purpose of the proposed split to avoid all the #if-s for mac vs linux in that file? That would be nice, but we would also end up with a lot of code duplication, the same we have now between posix/netbsd/freebsd files. I'm not sure which is better.
Comment Actions
Yes.
That would be nice, but we would also end up with a lot of code duplication, the same we have now between posix/netbsd/freebsd files. I'm not sure which is better.
The other way around it's not maintainable, on the cost of some duplication.