Add binary location information
[babeltrace.git] / include / babeltrace / debuginfo.h
index 9d5a9ddba719708fa76f80ad424b5e0d2828232a..d85c36c48e7e0fc1ec807d9d2da94f43dfacb2f4 100644 (file)
@@ -42,7 +42,17 @@ struct debug_info_source {
        /* Strings are owned by debug_info_source. */
        char *func;
        uint64_t line_no;
-       char *filename;
+       char *src_path;
+       /* short_src_path points inside src_path, no need to free. */
+       const char *short_src_path;
+       char *bin_path;
+       /* short_bin_path points inside bin_path, no need to free. */
+       const char *short_bin_path;
+       /*
+        * Location within the binary. Either absolute (@0x1234) or
+        * relative (+0x4321).
+        */
+       char *bin_loc;
 };
 
 BT_HIDDEN
This page took 0.02351 seconds and 4 git commands to generate.