summaryrefslogtreecommitdiffstats
path: root/lldb/examples
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-07-29 21:25:51 +0000
committerDavide Italiano <davide@freebsd.org>2019-07-29 21:25:51 +0000
commit9a5fbc816341ccb92ddde90dfb16f411c1cff9c8 (patch)
tree7dd00dce1069b785007a37fd15c119167a294c39 /lldb/examples
parentf80c72be20c856db32f9f649a673fbf3621492e5 (diff)
downloadbcm5719-llvm-9a5fbc816341ccb92ddde90dfb16f411c1cff9c8.tar.gz
bcm5719-llvm-9a5fbc816341ccb92ddde90dfb16f411c1cff9c8.zip
[Symbolication] Remove some dead code. Nothing exciting.
llvm-svn: 367262
Diffstat (limited to 'lldb/examples')
-rwxr-xr-xlldb/examples/python/symbolication.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/examples/python/symbolication.py b/lldb/examples/python/symbolication.py
index 07e932b9dad..a6daa802cda 100755
--- a/lldb/examples/python/symbolication.py
+++ b/lldb/examples/python/symbolication.py
@@ -418,7 +418,6 @@ class Image:
if self.locate_module_and_debug_symbols():
resolved_path = self.get_resolved_path()
path_spec = lldb.SBFileSpec(resolved_path)
- #result.PutCString ('plist[%s] = %s' % (uuid, self.plist))
error = lldb.SBError()
target = lldb.debugger.CreateTarget(
resolved_path, self.arch, None, False, error)
@@ -574,7 +573,6 @@ def disassemble_instructions(
mnemonic = inst.GetMnemonic(target)
operands = inst.GetOperands(target)
comment = inst.GetComment(target)
- #data = inst.GetData (target)
lines.append("%#16.16x: %8s %s" % (inst_pc, mnemonic, operands))
if comment:
line_len = len(lines[-1])
OpenPOWER on IntegriCloud