The Crash Report is going to add app specific info if it is stored in the magical buffer.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/sanitizer_common/sanitizer_mac.h | ||
---|---|---|
45 ↗ | (On Diff #40570) | According to http://lists.apple.com/archives/cocoa-dev/2013/Feb/msg00612.html and http://lists.apple.com/archives/cocoa-dev/2013/Feb/msg00613.html this isn't going to work on iOS, right? |
lib/sanitizer_common/sanitizer_mac.h | ||
---|---|---|
45 ↗ | (On Diff #40570) | That's correct, the iOS Crash Reporter intentionally doesn't include additional application-provided information in the crash logs. |
lib/sanitizer_common/sanitizer_mac.h | ||
---|---|---|
45 ↗ | (On Diff #40570) | So don't we want to hide these bits behind "#if !SANITIZER_IOS" ? |
lib/sanitizer_common/sanitizer_mac.h | ||
---|---|---|
45 ↗ | (On Diff #40570) | The code still works for iOS simulator, and if we keep if unconditionally, then if a future iOS version starts including this in crash logs, we'd automatically benefit from that. But I'm fine with #if !SANITIZER_IOS && !SANITIZER_IOSSIM, if you prefer that. |
lib/sanitizer_common/sanitizer_mac.h | ||
---|---|---|
45 ↗ | (On Diff #40570) | No, I just was under the impression that we may get linker errors on iOS. |