Index: tools/binary_size/java/src/org/chromium/tools/binary_size/Record.java |
diff --git a/tools/binary_size/java/src/org/chromium/tools/binary_size/Record.java b/tools/binary_size/java/src/org/chromium/tools/binary_size/Record.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e5066f40672198ce5c14b0e03c067842392e8b6e |
--- /dev/null |
+++ b/tools/binary_size/java/src/org/chromium/tools/binary_size/Record.java |
@@ -0,0 +1,45 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+package org.chromium.tools.binary_size; |
+ |
+/** |
+ * A record that is filled in partially by nm and partially by addr2line, |
+ * along with tracking information about whether or not the lookup in |
+ * addr2line was successful. |
+ */ |
+class Record { |
+ /** |
+ * The base-16 address, as a string. |
+ */ |
+ String address; |
+ |
+ /** |
+ * The symbol type. |
+ */ |
+ char symbolType; |
+ |
+ /** |
+ * The name of the symbol. Note that this may include whitespace, but |
+ * not tabs. |
+ */ |
+ String symbolName; |
+ |
+ /** |
+ * The base-10 size in bytes, as a String. |
+ */ |
+ String size; |
+ |
+ /** |
+ * The location, if available; may include a file name and, optionally, |
+ * a colon separator character followed by a line number or a |
+ * question mark. |
+ */ |
+ String location; |
+ |
+ /** |
+ * Whether or not the record was successfully resolved. Records that are |
+ * successfully resolved should have a non-null location. |
+ */ |
+ boolean resolvedSuccessfully; |
+} |