Index: base/third_party/symbolize/symbolize.h |
diff --git a/base/third_party/symbolize/symbolize.h b/base/third_party/symbolize/symbolize.h |
index 441e5436962f7ddd091dd348809a1b9220187561..99a0468501c2450f1c1d8bad1a6ca42f8d0c7776 100644 |
--- a/base/third_party/symbolize/symbolize.h |
+++ b/base/third_party/symbolize/symbolize.h |
@@ -128,6 +128,16 @@ _START_GOOGLE_NAMESPACE_ |
// returns false. |
bool Symbolize(void *pc, char *out, int out_size); |
+// Search for the object file (from /proc/self/maps) that contains |
+// the specified pc. If found, copy the path name to "out" and parsed starting |
satorux1
2013/06/13 01:58:10
fpath name -> file name, to be consistent with the
scherkus (not reviewing)
2013/06/13 02:20:46
Done.
|
+// address of where the object file is mapped to in memory and return true. |
+// Otherwise, return false. |
+// |
+// NOTE: "start_address" is the value directly from /proc/self/maps and may not |
+// be correct for prelinked shared libraries. |
+bool FindObjectFileNameContainingPcAndGetStartAddress( |
+ void *pc, char *out, int out_size, uint64_t *start_address); |
+ |
_END_GOOGLE_NAMESPACE_ |
#endif // BASE_SYMBOLIZE_H_ |