FreeBSD doesn't use sanitizer_platform_limits_posix.h, so we get an
undefined reference to wordexp_wrde_dooffs error.
For some reason this currently triggers
warning: unused variable 'wordexp_wrde_dooffs' [-Wunused-const-variable]
while building sanitizer_platform_limits_freebsd.cpp despite the extern
declaration.
Details
Details
- Reviewers
vitalybuka justincady
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for fixing this. When I saw <wordexp.h> conditionally included for everything except Android, I mistakenly assumed Android was the only platform that needed to be handled differently.
LGTM.