summaryrefslogtreecommitdiff
path: root/absl/debugging/internal/symbolize.h
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2020-07-28 14:05:57 -0700
committerGravatar Mark Barolak <mbar@google.com>2020-07-29 14:05:23 -0400
commit82302f1e05d6daed93bdd77e8951b529b0ebfcf6 (patch)
tree04fed331c398f9dc6880522f3698487fe09ecff3 /absl/debugging/internal/symbolize.h
parentdea76486cb76c7e1032a5efc15b43538b7c5ce50 (diff)
Export of internal Abseil changes
-- 41ac0d9b32618a1df717984afcb808858089bda7 by Derek Mauro <dmauro@google.com>: Removes usages of deprecated RunningOnValgrind PiperOrigin-RevId: 323649256 -- 5453d131af475b434dcd86ab326e4a2cf780857f by Abseil Team <absl-team@google.com>: Internal change. PiperOrigin-RevId: 323630307 GitOrigin-RevId: 41ac0d9b32618a1df717984afcb808858089bda7 Change-Id: I523016e0ecdb8d141aa069ad2846f5e4abbe014c
Diffstat (limited to 'absl/debugging/internal/symbolize.h')
-rw-r--r--absl/debugging/internal/symbolize.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/absl/debugging/internal/symbolize.h b/absl/debugging/internal/symbolize.h
index 663d774d..b3729af7 100644
--- a/absl/debugging/internal/symbolize.h
+++ b/absl/debugging/internal/symbolize.h
@@ -18,6 +18,8 @@
#ifndef ABSL_DEBUGGING_INTERNAL_SYMBOLIZE_H_
#define ABSL_DEBUGGING_INTERNAL_SYMBOLIZE_H_
+#ifdef __cplusplus
+
#include <cstddef>
#include <cstdint>
@@ -132,4 +134,16 @@ bool GetFileMappingHint(const void** start,
ABSL_NAMESPACE_END
} // namespace absl
+#endif // __cplusplus
+
+#include <stdbool.h>
+
+#ifdef __cplusplus
+extern "C"
+#endif // __cplusplus
+
+ bool
+ AbslInternalGetFileMappingHint(const void** start, const void** end,
+ uint64_t* offset, const char** filename);
+
#endif // ABSL_DEBUGGING_INTERNAL_SYMBOLIZE_H_