Reviewers: ulan,
Message:
PTAL
Description:
ARM64: Enable low level profiling.
[email protected]
Please review this at https://codereview.chromium.org/353643003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+6, -2 lines):
M src/log.cc
M tools/disasm.py
M tools/ll_prof.py
Index: src/log.cc
diff --git a/src/log.cc b/src/log.cc
index
01afa85817d79340a5f91ba67a4ab662c2cc1bd1..c8b08ac192ae2a736f2417a78c69e3f6b6273e82
100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -564,6 +564,8 @@ void LowLevelLogger::LogCodeInfo() {
const char arch[] = "mips";
#elif V8_TARGET_ARCH_X87
const char arch[] = "x87";
+#elif V8_TARGET_ARCH_ARM64
+ const char arch[] = "arm64";
#else
const char arch[] = "unknown";
#endif
Index: tools/disasm.py
diff --git a/tools/disasm.py b/tools/disasm.py
index
6fa81cab9388fe232540fb43aacf586f402ec580..cc7ef0621a31e6519070fe5a3bfc5a887c6cf0eb
100644
--- a/tools/disasm.py
+++ b/tools/disasm.py
@@ -49,7 +49,8 @@ _ARCH_MAP = {
"ia32": "-m i386",
"x64": "-m i386 -M x86-64",
"arm": "-m arm", # Not supported by our objdump build.
- "mips": "-m mips" # Not supported by our objdump build.
+ "mips": "-m mips", # Not supported by our objdump build.
+ "arm64": "-m aarch64"
}
Index: tools/ll_prof.py
diff --git a/tools/ll_prof.py b/tools/ll_prof.py
index
216929d1e20171452e73082976778f8db4c603c6..409b39691775ff898d4f93ecb3fd2283976a051e
100755
--- a/tools/ll_prof.py
+++ b/tools/ll_prof.py
@@ -351,7 +351,8 @@ class LogReader(object):
"ia32": ctypes.c_uint32,
"arm": ctypes.c_uint32,
"mips": ctypes.c_uint32,
- "x64": ctypes.c_uint64
+ "x64": ctypes.c_uint64,
+ "arm64": ctypes.c_uint64
}
_CODE_CREATE_TAG = "C"
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.