Platforms that don't implement procmaps (primarily fuchsia and windows) still expose
the procmaps API when including sanitizer_procmaps.h, despite not implementing the functions
provided by that header. Ensure that the API is only exposed on platforms that implement it.
Details
Details
- Reviewers
vitalybuka alekseyshl kubamracek - Commits
- rG6e4dfccc3132: [sanitizer_common] Don't provide sanitizer_procmaps API functions where not…
rCRT314149: [sanitizer_common] Don't provide sanitizer_procmaps API functions where not…
rL314149: [sanitizer_common] Don't provide sanitizer_procmaps API functions where not…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I tested that this builds on mac, linux, android, and windows, but I don't have a fuschia cross-compilation toolchain set up to test there. Should be more or less the same as windows though.