[all-commits] [llvm/llvm-project] 723a1c: Fix the crashlog.py script's use of the load_addre...

jimingham via All-commits all-commits at lists.llvm.org
Thu May 28 09:56:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 723a1caa377b898ff3dc0897156f544feab99ac8
      https://github.com/llvm/llvm-project/commit/723a1caa377b898ff3dc0897156f544feab99ac8
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M lldb/examples/python/crashlog.py
    A lldb/test/API/macosx/save_crashlog/Makefile
    A lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py
    A lldb/test/API/macosx/save_crashlog/main.c

  Log Message:
  -----------
  Fix the crashlog.py script's use of the load_address property.

This property is explicitly for use only in the interactive editor,
and NOT in commands.  It's use worked until we got more careful about
not leaving lldb.target lying around in the script interpreter.

I also added a quick sniff test for the save_crashlog command.

<rdar://problem/60350620>
Differential Revision: https://reviews.llvm.org/D80680




More information about the All-commits mailing list