mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 20:14:23 +08:00
Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2051 Commit33bbc26made changes to stacktrace_emscripten-inl.inc but did not change the stacktrace_generic-inl.inc file. This caused `absl_stacktrace_test` to fail on s390x. ``` Expected: (results[i]) != (nullptr), actual: NULL vs (nullptr) Unexpected nullptr found at index 14 [ FAILED ] StackTrace.NoNullptrInPopulatedRange (0 ms) ``` This patch applies the same logic to stacktrace_generic-inl.inc. Mergeb2fef211b0into89203a0303Merging this change closes #2051 COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/2051 from miladfarca:fix-33bbc26b2fef211b0PiperOrigin-RevId: 915361786 Change-Id: Iafb02166414df57845410457796758a97bcc253a