aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
commitef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch)
tree27916256fdeeb57d10d2f3d6948be5d71a703215
parent76e0736e7fcfeb179779e49c05604464b1ccd704 (diff)
downloadsrc-ef5d0b5e97ec8e6fa395d377b09aa7755e345b4f.tar.gz
src-ef5d0b5e97ec8e6fa395d377b09aa7755e345b4f.zip
Vendor import of lldb trunk r321017:vendor/lldb/lldb-trunk-r321017
Notes
Notes: svn path=/vendor/lldb/dist/; revision=326949 svn path=/vendor/lldb/lldb-trunk-r321017/; revision=326950; tag=vendor/lldb/lldb-trunk-r321017
-rw-r--r--CMakeLists.txt42
-rw-r--r--CODE_OWNERS.txt5
-rw-r--r--cmake/LLDBDependencies.cmake52
-rw-r--r--cmake/modules/AddLLDB.cmake40
-rw-r--r--cmake/modules/LLDBConfig.cmake14
-rw-r--r--cmake/modules/LLDBGenerateConfig.cmake4
-rw-r--r--cmake/modules/LLDBStandalone.cmake4
-rw-r--r--examples/darwin/heap_find/heap.py94
-rw-r--r--examples/python/cmdtemplate.py180
-rwxr-xr-xexamples/python/crashlog.py13
-rw-r--r--examples/python/lldb_module_utils.py249
-rw-r--r--examples/python/step_and_print.py24
-rw-r--r--examples/synthetic/libcxx.py15
-rw-r--r--include/lldb/API/LLDB.h2
-rw-r--r--include/lldb/API/SBBreakpoint.h14
-rw-r--r--include/lldb/API/SBBreakpointLocation.h11
-rw-r--r--include/lldb/API/SBBreakpointName.h118
-rw-r--r--include/lldb/API/SBCommandInterpreter.h2
-rw-r--r--include/lldb/API/SBDebugger.h21
-rw-r--r--include/lldb/API/SBDefines.h7
-rw-r--r--include/lldb/API/SBError.h1
-rw-r--r--include/lldb/API/SBFileSpec.h1
-rw-r--r--include/lldb/API/SBProcess.h10
-rw-r--r--include/lldb/API/SBProcessInfo.h64
-rw-r--r--include/lldb/API/SBStream.h1
-rw-r--r--include/lldb/API/SBStringList.h2
-rw-r--r--include/lldb/API/SBStructuredData.h1
-rw-r--r--include/lldb/API/SBTarget.h13
-rw-r--r--include/lldb/API/SBThread.h1
-rw-r--r--include/lldb/Breakpoint/Breakpoint.h50
-rw-r--r--include/lldb/Breakpoint/BreakpointIDList.h4
-rw-r--r--include/lldb/Breakpoint/BreakpointList.h9
-rw-r--r--include/lldb/Breakpoint/BreakpointLocation.h23
-rw-r--r--include/lldb/Breakpoint/BreakpointName.h213
-rw-r--r--include/lldb/Breakpoint/BreakpointOptions.h89
-rw-r--r--include/lldb/Core/Architecture.h43
-rw-r--r--include/lldb/Core/Disassembler.h4
-rw-r--r--include/lldb/Core/EmulateInstruction.h5
-rw-r--r--include/lldb/Core/IOHandler.h3
-rw-r--r--include/lldb/Core/MappedHash.h15
-rw-r--r--include/lldb/Core/Module.h4
-rw-r--r--include/lldb/Core/ModuleSpec.h2
-rw-r--r--include/lldb/Core/PluginManager.h16
-rw-r--r--include/lldb/Core/RangeMap.h1
-rw-r--r--include/lldb/Core/Section.h9
-rw-r--r--include/lldb/Expression/DWARFExpression.h44
-rw-r--r--include/lldb/Expression/ExpressionParser.h1
-rw-r--r--include/lldb/Expression/IRExecutionUnit.h4
-rw-r--r--include/lldb/Host/Config.h.cmake2
-rw-r--r--include/lldb/Host/Host.h6
-rw-r--r--include/lldb/Host/HostInfoBase.h11
-rw-r--r--include/lldb/Host/MainLoop.h2
-rw-r--r--include/lldb/Host/PseudoTerminal.h6
-rw-r--r--include/lldb/Host/TaskPool.h (renamed from include/lldb/Utility/TaskPool.h)6
-rw-r--r--include/lldb/Host/common/NativeProcessProtocol.h23
-rw-r--r--include/lldb/Host/common/NativeRegisterContext.h5
-rw-r--r--include/lldb/Host/common/NativeThreadProtocol.h5
-rw-r--r--include/lldb/Interpreter/Args.h1
-rw-r--r--include/lldb/Interpreter/CommandInterpreter.h21
-rw-r--r--include/lldb/Interpreter/OptionGroupArchitecture.h6
-rw-r--r--include/lldb/Interpreter/OptionValueArch.h6
-rw-r--r--include/lldb/Symbol/ArmUnwindInfo.h2
-rw-r--r--include/lldb/Symbol/ClangASTContext.h31
-rw-r--r--include/lldb/Symbol/CompilerType.h16
-rw-r--r--include/lldb/Symbol/DeclVendor.h11
-rw-r--r--include/lldb/Symbol/FuncUnwinders.h6
-rw-r--r--include/lldb/Symbol/GoASTContext.h6
-rw-r--r--include/lldb/Symbol/JavaASTContext.h4
-rw-r--r--include/lldb/Symbol/OCamlASTContext.h6
-rw-r--r--include/lldb/Symbol/ObjectFile.h26
-rw-r--r--include/lldb/Symbol/TypeSystem.h9
-rw-r--r--include/lldb/Target/Platform.h26
-rw-r--r--include/lldb/Target/Process.h9
-rw-r--r--include/lldb/Target/ProcessInfo.h2
-rw-r--r--include/lldb/Target/ProcessLaunchInfo.h4
-rw-r--r--include/lldb/Target/Target.h62
-rw-r--r--include/lldb/Target/UnwindAssembly.h2
-rw-r--r--include/lldb/Utility/ArchSpec.h (renamed from include/lldb/Core/ArchSpec.h)74
-rw-r--r--include/lldb/Utility/DataExtractor.h34
-rw-r--r--include/lldb/Utility/FileSpec.h2
-rw-r--r--include/lldb/Utility/Log.h5
-rw-r--r--include/lldb/Utility/Logging.h2
-rw-r--r--include/lldb/Utility/SharingPtr.h9
-rw-r--r--include/lldb/Utility/Status.h13
-rw-r--r--include/lldb/Utility/StringList.h2
-rw-r--r--include/lldb/Utility/UUID.h2
-rw-r--r--include/lldb/lldb-enumerations.h13
-rw-r--r--include/lldb/lldb-forward.h2
-rw-r--r--include/lldb/lldb-private-defines.h3
-rw-r--r--include/lldb/lldb-private-forward.h4
-rw-r--r--lit/CMakeLists.txt18
-rw-r--r--lit/Modules/compressed-sections.yaml30
-rw-r--r--lit/Modules/lit.local.cfg1
-rw-r--r--lit/Unit/lit.cfg15
-rw-r--r--lit/lit.cfg109
-rw-r--r--lit/lit.site.cfg.in19
-rw-r--r--lldb.xcodeproj/project.pbxproj383
-rw-r--r--lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme1
-rw-r--r--lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme3
-rw-r--r--lldb.xcodeproj/xcshareddata/xcschemes/desktop.xcscheme2
-rw-r--r--packages/Python/lldbsuite/test/arm/breakpoint-it/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py45
-rw-r--r--packages/Python/lldbsuite/test/arm/breakpoint-it/main.c14
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/TestEmulations.py (renamed from packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-10-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-11-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-12-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-4-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-5-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-5-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-6-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-6-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-7-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-7-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-8-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-8-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-9-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-9-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-bic-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-bic-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-10-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-11-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-12-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-4-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-5-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-5-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-6-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-6-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-7-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-7-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-8-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-8-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-9-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrh-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrsh-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrsh-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-10-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-10-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-11-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-11-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-12-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-12-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-13-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-13-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-14-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-14-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-15-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-15-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-16-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-16-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-17-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-17-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-18-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-18-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-19-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-19-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-20-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-20-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-21-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-21-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-22-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-22-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-23-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-23-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-24-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-24-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-25-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-25-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-26-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-26-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-27-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-27-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-28-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-28-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-29-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-29-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-30-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-30-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-31-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-31-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-4-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-5-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-5-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-6-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-6-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-7-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-7-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-8-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-8-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-9-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-9-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-moveq-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-moveq-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-movs-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-movs-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-4-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-4-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-5-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-5-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strb-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strb-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strbt-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strbt-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strd-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strd-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strt-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strt-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-10-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-10-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-2-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-3-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-4-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-5-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-5-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-6-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-6-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-8-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-8-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-9-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-9-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-1-arm.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-arm.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-10-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-10-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-4-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-4-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-5-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-5-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-6-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-6-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-8-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-8-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-subs-9-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-subs-9-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-vpop-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-vpop-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-vpop-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpop-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-vpush-1-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-1-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-vpush-2-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-2-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-vpush-3-thumb.dat (renamed from packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-vpush-3-thumb.dat)0
-rw-r--r--packages/Python/lldbsuite/test/decorators.py24
-rw-r--r--packages/Python/lldbsuite/test/example/TestSequenceFunctions.py3
-rw-r--r--packages/Python/lldbsuite/test/expression_command/anonymous-struct/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py15
-rw-r--r--packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py5
-rw-r--r--packages/Python/lldbsuite/test/expression_command/fixits/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py4
-rw-r--r--packages/Python/lldbsuite/test/expression_command/po_verbosity/Makefile2
-rw-r--r--packages/Python/lldbsuite/test/expression_command/po_verbosity/main.m2
-rw-r--r--packages/Python/lldbsuite/test/expression_command/top-level/Makefile13
-rw-r--r--packages/Python/lldbsuite/test/expression_command/top-level/TestTopLevelExprs.py17
-rw-r--r--packages/Python/lldbsuite/test/expression_command/top-level/dummy.cpp16
-rw-r--r--packages/Python/lldbsuite/test/expression_command/top-level/dummy.mk6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/TestBreakpointAutoContinue.py104
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/main.c19
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py31
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/Makefile5
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py109
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/main.cpp27
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py108
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py264
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py46
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/foo.cpp7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/foo.h11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/main.cpp14
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/.lldb3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/commands.txt2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/boolreference/TestFormattersBoolRefPtr.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/nsindexpath/TestDataFormatterNSIndexPath.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/Makefile9
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/TestDataFormatterLibcxxBitset.py46
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/bitset/main.cpp20
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/TestDataFormatterLibcxxForwardList.py53
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/forward_list/main.cpp7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/queue/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/queue/TestDataFormatterLibcxxQueue.py43
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/queue/main.cpp11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/TestDataFormatterLibcxxTuple.py51
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/main.cpp11
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/smart_ptr/TestDataFormatterStdSmartPtr.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/Makefile1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/tuple/TestDataFormatterStdTuple.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/Makefile1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-synth/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/dump_dynamic/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/summary-string-onfail/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/data-formatter/var-in-aggregate-misuse/Makefile6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/exec/TestExec.py50
-rw-r--r--packages/Python/lldbsuite/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/array/TestArray.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/bad-reference/TestBadReference.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/complicated-expression/TestComplicatedExpression.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-argument/TestDiagnoseDereferenceArgument.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-function-return/TestDiagnoseDereferenceFunctionReturn.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/dereference-this/TestDiagnoseDereferenceThis.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/inheritance/TestDiagnoseInheritance.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/local-variable/TestLocalVariable.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/frame-diagnose/virtual-method-call/TestDiagnoseDereferenceVirtualMethodCall.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/TestInferiorCrashing.py7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/Makefile8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py15
-rw-r--r--packages/Python/lldbsuite/test/functionalities/mtc/simple/TestMTCSimple.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/platform/TestPlatformPython.py76
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/TestLinuxCore.py40
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-ppc64le.corebin0 -> 330648 bytes
-rwxr-xr-xpackages/Python/lldbsuite/test/functionalities/postmortem/elf-core/linux-ppc64le.outbin0 -> 3128 bytes
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py39
-rw-r--r--packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py17
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/TestProcessAttach.py30
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_attach/attach_denied/TestAttachDenied.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py55
-rw-r--r--packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py60
-rw-r--r--packages/Python/lldbsuite/test/functionalities/signal/handle-segv/TestHandleSegv.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/stop-hook/TestStopHookMechanism.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/breakpoints_delayed_breakpoint_one_watchpoint/TestConcurrentBreakpointsDelayedBreakpointOneWatchpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/crash_with_watchpoint/TestConcurrentCrashWithWatchpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/crash_with_watchpoint_breakpoint_signal/TestConcurrentCrashWithWatchpointBreakpointSignal.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delay_signal_watch/TestConcurrentDelaySignalWatch.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delay_watch_break/TestConcurrentDelayWatchBreak.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/delayed_crash_with_breakpoint_watchpoint/TestConcurrentDelayedCrashWithBreakpointWatchpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/main.cpp4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/many_watchpoints/TestConcurrentManyWatchpoints.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/n_watch_n_break/TestConcurrentNWatchNBreak.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_delay_watch/TestConcurrentSignalDelayWatch.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_n_watch_n_break/TestConcurrentSignalNWatchNBreak.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_watch/TestConcurrentSignalWatch.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/signal_watch_break/TestConcurrentSignalWatchBreak.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_breakpoints_one_watchpoint/TestConcurrentTwoBreakpointsOneWatchpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoint_threads/TestConcurrentTwoWatchpointThreads.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoints_one_breakpoint/TestConcurrentTwoWatchpointsOneBreakpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoints_one_delay_breakpoint/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/two_watchpoints_one_signal/TestConcurrentTwoWatchpointsOneSignal.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watch_break/TestConcurrentWatchBreak.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watch_break_delay/TestConcurrentWatchBreakDelay.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watchpoint_delay_watchpoint_one_breakpoint/TestConcurrentWatchpointDelayWatchpointOneBreakpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/concurrent_events/watchpoint_with_delay_watchpoint_threads/TestConcurrentWatchpointWithDelayWatchpointThreads.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/num_threads/TestNumThreads.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_out/TestThreadStepOut.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_until/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/step_until/TestStepUntil.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/type_completion/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/unwind/sigtramp/TestSigtrampUnwind.py1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/.categories1
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py8
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py6
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/multi_watchpoint_slots/TestWatchpointMultipleSlots.py20
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/step_over_watchpoint/TestStepOverWatchpoint.py7
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py10
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py4
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_disable/TestWatchpointDisable.py3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_events/TestWatchpointEvents.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_on_vectors/TestValueOfVectorVariable.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py2
-rw-r--r--packages/Python/lldbsuite/test/functionalities/watchpoint/watchpoint_size/TestWatchpointSizes.py6
-rw-r--r--packages/Python/lldbsuite/test/help/TestHelp.py9
-rw-r--r--packages/Python/lldbsuite/test/lang/c/global_variables/TestGlobalVariables.py6
-rw-r--r--packages/Python/lldbsuite/test/lang/c/inlines/main.c2
-rw-r--r--packages/Python/lldbsuite/test/lang/c/shared_lib/TestSharedLib.py3
-rw-r--r--packages/Python/lldbsuite/test/lang/c/step-target/.categories1
-rw-r--r--packages/Python/lldbsuite/test/lang/c/step-target/TestStepTarget.py3
-rw-r--r--packages/Python/lldbsuite/test/lang/c/stepping/TestStepAndBreakpoints.py5
-rw-r--r--packages/Python/lldbsuite/test/lang/c/tls_globals/TestTlsGlobals.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/auto/Makefile2
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/nsimport/TestCppNsImport.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/scope/TestCppScope.py5
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/stl/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/lang/cpp/template/Makefile2
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Makefile16
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/conflicting-definition/TestConflictingDefinition.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/Makefile28
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/ivar-IMP/TestObjCiVarIMP.py8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-class-method/TestObjCClassMethod.py4
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-new-syntax/TestObjCNewSyntax.py60
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-stepping/TestObjCStepping.py6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py1
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/objc-struct-argument/test.m6
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/rdar-11355592/TestRdar11355592.py8
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py1
-rw-r--r--packages/Python/lldbsuite/test/linux/add-symbols/Makefile12
-rw-r--r--packages/Python/lldbsuite/test/linux/add-symbols/TestTargetSymbolsAddCommand.py52
-rw-r--r--packages/Python/lldbsuite/test/linux/add-symbols/main.c6
-rw-r--r--packages/Python/lldbsuite/test/lldbinline.py5
-rw-r--r--packages/Python/lldbsuite/test/lldbplatform.py10
-rw-r--r--packages/Python/lldbsuite/test/lldbplatformutil.py11
-rw-r--r--packages/Python/lldbsuite/test/lldbtest.py31
-rw-r--r--packages/Python/lldbsuite/test/macosx/add-dsym/Makefile15
-rw-r--r--packages/Python/lldbsuite/test/macosx/indirect_symbol/TestIndirectSymbols.py5
-rw-r--r--packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py6
-rw-r--r--packages/Python/lldbsuite/test/macosx/queues/TestQueues.py4
-rw-r--r--packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py9
-rw-r--r--packages/Python/lldbsuite/test/macosx/universal/TestUniversal.py3
-rw-r--r--packages/Python/lldbsuite/test/make/Android.rules8
-rw-r--r--packages/Python/lldbsuite/test/make/Makefile.rules34
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py22
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointname.py42
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py4
-rw-r--r--packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py22
-rw-r--r--packages/Python/lldbsuite/test/python_api/exprpath_synthetic/main.mm2
-rw-r--r--packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py0
-rw-r--r--packages/Python/lldbsuite/test/python_api/frame/TestFrames.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/hello_world/main.c7
-rw-r--r--packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py22
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py76
-rw-r--r--packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py3
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbtype_typeclass/main.m2
-rw-r--r--packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile7
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/.categories1
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py9
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py2
-rw-r--r--packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py4
-rw-r--r--packages/Python/lldbsuite/test/settings/TestSettings.py2
-rw-r--r--packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py10
-rw-r--r--packages/Python/lldbsuite/test/settings/quoting/main.c10
-rw-r--r--packages/Python/lldbsuite/test/test_categories.py8
-rw-r--r--packages/Python/lldbsuite/test/test_result.py28
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/.categories1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py9
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/data/TestMiData.py13
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/data/main.cpp2
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/lldbmi_testcase.py3
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/signal/TestMiSignal.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/stack/TestMiStack.py7
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py7
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-mi/variable/TestMiVar.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAttach.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteAuxvSupport.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteExpeditedRegisters.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteHostInfo.py4
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteRegisterState.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteSingleStep.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py5
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py2
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_vCont.py12
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py32
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/exit-code/TestGdbRemoteExitCode.py3
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py2
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py1
-rw-r--r--packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py1
-rw-r--r--packages/Python/lldbsuite/test/types/AbstractBase.py2
-rw-r--r--packages/Python/lldbsuite/test/types/basic_type.cpp142
-rw-r--r--scripts/CMakeLists.txt4
-rw-r--r--scripts/Python/python-extensions.swig15
-rw-r--r--scripts/Python/python-swigsafecast.swig7
-rwxr-xr-xscripts/Xcode/build-llvm.py33
-rw-r--r--scripts/Xcode/lldbbuild.py9
-rwxr-xr-xscripts/build-lldb-llvm-clang4
-rwxr-xr-xscripts/framework-header-fix.sh13
-rw-r--r--scripts/interface/SBBreakpoint.i43
-rw-r--r--scripts/interface/SBBreakpointLocation.i11
-rw-r--r--scripts/interface/SBBreakpointName.i111
-rw-r--r--scripts/interface/SBCommandInterpreter.i14
-rw-r--r--scripts/interface/SBDebugger.i33
-rw-r--r--scripts/interface/SBProcess.i12
-rw-r--r--scripts/interface/SBProcessInfo.i66
-rw-r--r--scripts/interface/SBTarget.i4
-rw-r--r--scripts/interface/SBValue.i8
-rw-r--r--scripts/lldb.swig4
-rw-r--r--source/API/CMakeLists.txt60
-rw-r--r--source/API/SBBreakpoint.cpp87
-rw-r--r--source/API/SBBreakpointLocation.cpp57
-rw-r--r--source/API/SBBreakpointName.cpp685
-rw-r--r--source/API/SBBreakpointOptionCommon.cpp85
-rw-r--r--source/API/SBBreakpointOptionCommon.h37
-rw-r--r--source/API/SBCommandInterpreter.cpp4
-rw-r--r--source/API/SBDebugger.cpp84
-rw-r--r--source/API/SBInstruction.cpp7
-rw-r--r--source/API/SBPlatform.cpp2
-rw-r--r--source/API/SBProcess.cpp10
-rw-r--r--source/API/SBProcessInfo.cpp145
-rw-r--r--source/API/SBTarget.cpp46
-rw-r--r--source/API/SBType.cpp28
-rw-r--r--source/API/SystemInitializerFull.cpp6
-rw-r--r--source/Breakpoint/Breakpoint.cpp30
-rw-r--r--source/Breakpoint/BreakpointID.cpp11
-rw-r--r--source/Breakpoint/BreakpointIDList.cpp35
-rw-r--r--source/Breakpoint/BreakpointList.cpp33
-rw-r--r--source/Breakpoint/BreakpointLocation.cpp76
-rw-r--r--source/Breakpoint/BreakpointLocationList.cpp2
-rw-r--r--source/Breakpoint/BreakpointName.cpp91
-rw-r--r--source/Breakpoint/BreakpointOptions.cpp231
-rw-r--r--source/Breakpoint/CMakeLists.txt1
-rw-r--r--source/Commands/CommandCompletions.cpp8
-rw-r--r--source/Commands/CommandObjectBreakpoint.cpp982
-rw-r--r--source/Commands/CommandObjectBreakpoint.h19
-rw-r--r--source/Commands/CommandObjectBreakpointCommand.cpp72
-rw-r--r--source/Commands/CommandObjectDisassemble.cpp3
-rw-r--r--source/Commands/CommandObjectDisassemble.h6
-rw-r--r--source/Commands/CommandObjectExpression.cpp11
-rw-r--r--source/Commands/CommandObjectFrame.h5
-rw-r--r--source/Commands/CommandObjectPlatform.cpp6
-rw-r--r--source/Commands/CommandObjectSource.cpp9
-rw-r--r--source/Commands/CommandObjectTarget.cpp52
-rw-r--r--source/Commands/CommandObjectTarget.h5
-rw-r--r--source/Commands/CommandObjectThread.cpp8
-rw-r--r--source/Core/Address.cpp2
-rw-r--r--source/Core/AddressRange.cpp1
-rw-r--r--source/Core/CMakeLists.txt1
-rw-r--r--source/Core/Debugger.cpp2
-rw-r--r--source/Core/DumpDataExtractor.cpp7
-rw-r--r--source/Core/FileSpecList.cpp33
-rw-r--r--source/Core/FormatEntity.cpp2
-rw-r--r--source/Core/IOHandler.cpp2
-rw-r--r--source/Core/Module.cpp37
-rw-r--r--source/Core/ModuleList.cpp3
-rw-r--r--source/Core/PluginManager.cpp48
-rw-r--r--source/Core/RegisterValue.cpp3
-rw-r--r--source/Core/Section.cpp8
-rw-r--r--source/Core/Value.cpp31
-rw-r--r--source/Core/ValueObjectDynamicValue.cpp4
-rw-r--r--source/Core/ValueObjectMemory.cpp4
-rw-r--r--source/Core/ValueObjectVariable.cpp6
-rw-r--r--source/Expression/DWARFExpression.cpp35
-rw-r--r--source/Expression/IRExecutionUnit.cpp6
-rw-r--r--source/Expression/IRInterpreter.cpp5
-rw-r--r--source/Host/CMakeLists.txt1
-rw-r--r--source/Host/common/Host.cpp4
-rw-r--r--source/Host/common/HostInfoBase.cpp31
-rw-r--r--source/Host/common/MainLoop.cpp37
-rw-r--r--source/Host/common/NativeProcessProtocol.cpp121
-rw-r--r--source/Host/common/NativeRegisterContext.cpp22
-rw-r--r--source/Host/common/NativeThreadProtocol.cpp26
-rw-r--r--source/Host/common/PseudoTerminal.cpp2
-rw-r--r--source/Host/common/Socket.cpp2
-rw-r--r--source/Host/common/Symbols.cpp48
-rw-r--r--source/Host/common/TaskPool.cpp (renamed from source/Utility/TaskPool.cpp)38
-rw-r--r--source/Host/common/XML.cpp2
-rw-r--r--source/Host/freebsd/Host.cpp9
-rw-r--r--source/Host/macosx/Host.mm4
-rw-r--r--source/Host/macosx/Symbols.cpp21
-rw-r--r--source/Host/posix/HostThreadPosix.cpp2
-rw-r--r--source/Host/posix/ProcessLauncherPosixFork.cpp6
-rw-r--r--source/Initialization/SystemInitializerCommon.cpp4
-rw-r--r--source/Interpreter/Args.cpp5
-rw-r--r--source/Interpreter/CommandInterpreter.cpp100
-rw-r--r--source/Interpreter/CommandObject.cpp7
-rw-r--r--source/Interpreter/OptionGroupArchitecture.cpp11
-rw-r--r--source/Interpreter/OptionGroupFormat.cpp5
-rw-r--r--source/Interpreter/OptionValueDictionary.cpp3
-rw-r--r--source/Interpreter/ScriptInterpreter.cpp5
-rw-r--r--source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp9
-rw-r--r--source/Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp2
-rw-r--r--source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp11
-rw-r--r--source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp41
-rw-r--r--source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp41
-rw-r--r--source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp99
-rw-r--r--source/Plugins/Architecture/Arm/ArchitectureArm.cpp131
-rw-r--r--source/Plugins/Architecture/Arm/ArchitectureArm.h35
-rw-r--r--source/Plugins/Architecture/Arm/CMakeLists.txt11
-rw-r--r--source/Plugins/Architecture/CMakeLists.txt1
-rw-r--r--source/Plugins/CMakeLists.txt1
-rw-r--r--source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp12
-rw-r--r--source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.cpp4
-rw-r--r--source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp5
-rw-r--r--source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp44
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp357
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangASTSource.h107
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp268
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h17
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp12
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h2
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.h1
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp8
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h1
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp1
-rw-r--r--source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp9
-rw-r--r--source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp2
-rw-r--r--source/Plugins/Instruction/ARM/EmulationStateARM.cpp3
-rw-r--r--source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp7
-rw-r--r--source/Plugins/Instruction/MIPS/EmulateInstructionMIPS.cpp7
-rw-r--r--source/Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp82
-rw-r--r--source/Plugins/Language/CPlusPlus/CMakeLists.txt3
-rw-r--r--source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp39
-rw-r--r--source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp2
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxx.cpp3
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxx.h14
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp107
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp5
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxList.cpp268
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxMap.cpp9
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxQueue.cpp61
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp83
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp5
-rw-r--r--source/Plugins/Language/CPlusPlus/LibCxxVector.cpp3
-rw-r--r--source/Plugins/Language/CPlusPlus/LibStdcpp.cpp7
-rw-r--r--source/Plugins/Language/ObjC/CMakeLists.txt12
-rw-r--r--source/Plugins/Language/ObjC/NSArray.cpp624
-rw-r--r--source/Plugins/Language/ObjC/NSDictionary.cpp319
-rw-r--r--source/Plugins/Language/ObjC/NSSet.cpp84
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp10
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h2
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.h2
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp281
-rw-r--r--source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h21
-rw-r--r--source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp24
-rw-r--r--source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp2
-rw-r--r--source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h3
-rw-r--r--source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp2
-rw-r--r--source/Plugins/ObjectFile/ELF/CMakeLists.txt1
-rw-r--r--source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp167
-rw-r--r--source/Plugins/ObjectFile/ELF/ObjectFileELF.h36
-rw-r--r--source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp11
-rw-r--r--source/Plugins/ObjectFile/JIT/ObjectFileJIT.h8
-rw-r--r--source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp5
-rw-r--r--source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp13
-rw-r--r--source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp1
-rw-r--r--source/Plugins/Platform/Android/AdbClient.cpp2
-rw-r--r--source/Plugins/Platform/Android/PlatformAndroid.cpp20
-rw-r--r--source/Plugins/Platform/Android/PlatformAndroid.h3
-rw-r--r--source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp12
-rw-r--r--source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h6
-rw-r--r--source/Plugins/Platform/Linux/PlatformLinux.cpp12
-rw-r--r--source/Plugins/Platform/Linux/PlatformLinux.h6
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformDarwin.cpp21
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp31
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp1
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp2
-rw-r--r--source/Plugins/Platform/MacOSX/PlatformiOSSimulatorCoreSimulatorSupport.mm1
-rw-r--r--source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp12
-rw-r--r--source/Plugins/Platform/NetBSD/PlatformNetBSD.h6
-rw-r--r--source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp12
-rw-r--r--source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h6
-rw-r--r--source/Plugins/Platform/POSIX/PlatformPOSIX.cpp7
-rw-r--r--source/Plugins/Platform/POSIX/PlatformPOSIX.h3
-rw-r--r--source/Plugins/Process/Darwin/DarwinProcessLauncher.cpp2
-rw-r--r--source/Plugins/Process/Darwin/MachException.cpp35
-rw-r--r--source/Plugins/Process/Darwin/NativeProcessDarwin.h30
-rw-r--r--source/Plugins/Process/FreeBSD/FreeBSDThread.cpp29
-rw-r--r--source/Plugins/Process/FreeBSD/POSIXStopInfo.cpp16
-rw-r--r--source/Plugins/Process/FreeBSD/POSIXStopInfo.h13
-rw-r--r--source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp26
-rw-r--r--source/Plugins/Process/FreeBSD/ProcessMonitor.cpp6
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIX.h2
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_x86.cpp46
-rw-r--r--source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_x86.h2
-rw-r--r--source/Plugins/Process/Linux/CMakeLists.txt3
-rw-r--r--source/Plugins/Process/Linux/NativeProcessLinux.cpp282
-rw-r--r--source/Plugins/Process/Linux/NativeProcessLinux.h9
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp16
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux.h19
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp22
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.h3
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp34
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h3
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp26
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.h6
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.cpp801
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h149
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.cpp14
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_s390x.h3
-rwxr-xr-xsource/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp120
-rw-r--r--source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h8
-rw-r--r--source/Plugins/Process/Linux/NativeThreadLinux.cpp42
-rw-r--r--source/Plugins/Process/Linux/NativeThreadLinux.h11
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h2
-rw-r--r--source/Plugins/Process/MacOSX-Kernel/ThreadKDP.cpp2
-rw-r--r--source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp117
-rw-r--r--source/Plugins/Process/NetBSD/NativeProcessNetBSD.h10
-rw-r--r--source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp4
-rw-r--r--source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h4
-rw-r--r--source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp11
-rw-r--r--source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.h3
-rw-r--r--source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp36
-rw-r--r--source/Plugins/Process/NetBSD/NativeThreadNetBSD.h4
-rw-r--r--source/Plugins/Process/Utility/CMakeLists.txt2
-rw-r--r--source/Plugins/Process/Utility/DynamicRegisterInfo.cpp6
-rw-r--r--source/Plugins/Process/Utility/InferiorCallPOSIX.cpp12
-rw-r--r--source/Plugins/Process/Utility/NativeRegisterContextRegisterInfo.cpp4
-rw-r--r--source/Plugins/Process/Utility/NativeRegisterContextRegisterInfo.h2
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp4
-rw-r--r--source/Plugins/Process/Utility/RegisterContextDarwin_arm64.h2
-rw-r--r--source/Plugins/Process/Utility/RegisterContextLLDB.cpp8
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_arm.cpp16
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_i386.cpp12
-rw-r--r--source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp12
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp216
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.h82
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp22
-rw-r--r--source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h6
-rw-r--r--source/Plugins/Process/Utility/RegisterContext_mips.h5
-rw-r--r--source/Plugins/Process/Utility/RegisterContext_x86.h39
-rw-r--r--source/Plugins/Process/Utility/RegisterInfoInterface.h5
-rw-r--r--source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp66
-rw-r--r--source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.h32
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_i386.h18
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_ppc64le.h476
-rw-r--r--source/Plugins/Process/Utility/RegisterInfos_x86_64.h27
-rw-r--r--source/Plugins/Process/Utility/StopInfoMachException.cpp1
-rw-r--r--source/Plugins/Process/Utility/UnwindMacOSXFrameBackchain.cpp10
-rw-r--r--source/Plugins/Process/Utility/lldb-ppc64le-register-enums.h210
-rw-r--r--source/Plugins/Process/elf-core/CMakeLists.txt2
-rw-r--r--source/Plugins/Process/elf-core/ProcessElfCore.cpp496
-rw-r--r--source/Plugins/Process/elf-core/ProcessElfCore.h24
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp2
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.h7
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp4
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h7
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp5
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.h7
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp8
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.h8
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.cpp132
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_ppc64le.h49
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_s390x.cpp4
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_s390x.h7
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.cpp4
-rw-r--r--source/Plugins/Process/elf-core/RegisterContextPOSIXCore_x86_64.h7
-rw-r--r--source/Plugins/Process/elf-core/RegisterUtilities.cpp39
-rw-r--r--source/Plugins/Process/elf-core/RegisterUtilities.h110
-rw-r--r--source/Plugins/Process/elf-core/ThreadElfCore.cpp44
-rw-r--r--source/Plugins/Process/elf-core/ThreadElfCore.h29
-rw-r--r--source/Plugins/Process/gdb-remote/CMakeLists.txt5
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp46
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h10
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp49
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h4
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp7
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp329
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h29
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp5
-rw-r--r--source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp2
-rw-r--r--source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp24
-rw-r--r--source/Plugins/Process/gdb-remote/ProcessGDBRemote.h9
-rw-r--r--source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp1
-rw-r--r--source/Plugins/Process/mach-core/ProcessMachCore.cpp2
-rw-r--r--source/Plugins/Process/mach-core/ThreadMachCore.cpp2
-rw-r--r--source/Plugins/Process/minidump/MinidumpParser.h3
-rw-r--r--source/Plugins/Process/minidump/ProcessMinidump.h8
-rw-r--r--source/Plugins/Process/minidump/ThreadMinidump.cpp14
-rw-r--r--source/Plugins/Process/minidump/ThreadMinidump.h2
-rw-r--r--source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp54
-rw-r--r--source/Plugins/SymbolFile/DWARF/CMakeLists.txt3
-rw-r--r--source/Plugins/SymbolFile/DWARF/DIERef.cpp2
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp30
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFASTParserGo.cpp2
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp70
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h53
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp12
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp24
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h2
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp102
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h6
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp21
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h14
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp37
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp36
-rw-r--r--source/Plugins/SymbolFile/DWARF/DWARFFormValue.h1
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp99
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h22
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp25
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h9
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.cpp36
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwoDwp.h34
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.cpp142
-rw-r--r--source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwp.h55
-rw-r--r--source/Plugins/SymbolFile/PDB/PDBASTParser.cpp48
-rw-r--r--source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp15
-rw-r--r--source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp21
-rw-r--r--source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp2
-rw-r--r--source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp2
-rw-r--r--source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h5
-rw-r--r--source/Symbol/ArmUnwindInfo.cpp2
-rw-r--r--source/Symbol/ClangASTContext.cpp286
-rw-r--r--source/Symbol/ClangExternalASTSourceCommon.cpp16
-rw-r--r--source/Symbol/CompactUnwindInfo.cpp10
-rw-r--r--source/Symbol/CompilerType.cpp21
-rw-r--r--source/Symbol/DWARFCallFrameInfo.cpp9
-rw-r--r--source/Symbol/JavaASTContext.cpp25
-rw-r--r--source/Symbol/ObjectFile.cpp33
-rw-r--r--source/Symbol/Symtab.cpp29
-rw-r--r--source/Symbol/Type.cpp2
-rw-r--r--source/Symbol/TypeSystem.cpp40
-rw-r--r--source/Symbol/Variable.cpp8
-rw-r--r--source/Target/PathMappingList.cpp1
-rw-r--r--source/Target/Platform.cpp52
-rw-r--r--source/Target/Process.cpp39
-rw-r--r--source/Target/ProcessLaunchInfo.cpp14
-rw-r--r--source/Target/RegisterContext.cpp136
-rw-r--r--source/Target/StackFrame.cpp4
-rw-r--r--source/Target/StopInfo.cpp54
-rw-r--r--source/Target/Target.cpp257
-rw-r--r--source/Target/Thread.cpp8
-rw-r--r--source/Target/ThreadPlanStepInRange.cpp8
-rw-r--r--source/Target/ThreadPlanTracer.cpp3
-rw-r--r--source/Target/UnixSignals.cpp2
-rw-r--r--source/Utility/ArchSpec.cpp (renamed from source/Core/ArchSpec.cpp)237
-rw-r--r--source/Utility/CMakeLists.txt46
-rw-r--r--source/Utility/DataEncoder.cpp44
-rw-r--r--source/Utility/DataExtractor.cpp111
-rw-r--r--source/Utility/FileSpec.cpp12
-rw-r--r--source/Utility/JSON.cpp5
-rw-r--r--source/Utility/Log.cpp19
-rw-r--r--source/Utility/Logging.cpp2
-rw-r--r--source/Utility/PPC64LE_DWARF_Registers.h194
-rw-r--r--source/Utility/PPC64LE_ehframe_Registers.h194
-rw-r--r--source/Utility/SelectHelper.cpp1
-rw-r--r--source/Utility/Status.cpp10
-rw-r--r--source/Utility/StringExtractorGDBRemote.cpp1
-rw-r--r--source/Utility/StructuredData.cpp1
-rw-r--r--source/Utility/UUID.cpp28
-rw-r--r--source/Utility/UriParser.cpp4
-rw-r--r--source/lldb.cpp12
-rw-r--r--test/CMakeLists.txt30
-rw-r--r--tools/CMakeLists.txt3
-rw-r--r--tools/argdumper/CMakeLists.txt4
-rw-r--r--tools/debugserver/source/CMakeLists.txt112
-rw-r--r--tools/debugserver/source/DNB.cpp6
-rw-r--r--tools/debugserver/source/DNBDataRef.cpp12
-rw-r--r--tools/debugserver/source/DNBRegisterInfo.cpp4
-rw-r--r--tools/debugserver/source/JSON.cpp3
-rw-r--r--tools/debugserver/source/MacOSX/MachException.cpp21
-rw-r--r--tools/debugserver/source/MacOSX/MachException.h9
-rw-r--r--tools/debugserver/source/MacOSX/MachProcess.mm112
-rw-r--r--tools/debugserver/source/MacOSX/MachTask.mm2
-rw-r--r--tools/debugserver/source/MacOSX/MachThread.cpp10
-rw-r--r--tools/debugserver/source/MacOSX/OsLogger.cpp4
-rw-r--r--tools/debugserver/source/MacOSX/i386/DNBArchImplI386.cpp12
-rw-r--r--tools/debugserver/source/MacOSX/x86_64/DNBArchImplX86_64.cpp12
-rw-r--r--tools/debugserver/source/RNBRemote.cpp76
-rw-r--r--tools/debugserver/source/RNBServices.cpp2
-rw-r--r--tools/debugserver/source/RNBSocket.cpp5
-rw-r--r--tools/debugserver/source/debugserver.cpp6
-rw-r--r--tools/driver/CMakeLists.txt2
-rw-r--r--tools/driver/Driver.cpp10
-rw-r--r--tools/intel-features/CMakeLists.txt67
-rw-r--r--tools/intel-features/README.txt73
-rw-r--r--tools/intel-features/cli-wrapper.cpp43
-rw-r--r--tools/intel-features/intel-mpx/CMakeLists.txt9
-rw-r--r--tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp (renamed from tools/intel-mpx/IntelMPXTablePlugin.cpp)22
-rw-r--r--tools/intel-features/intel-mpx/cli-wrapper-mpxtable.h12
-rw-r--r--tools/intel-features/intel-mpx/test/Makefile (renamed from tools/intel-mpx/test/Makefile)0
-rw-r--r--tools/intel-features/intel-mpx/test/README.txt (renamed from tools/intel-mpx/test/README.txt)2
-rw-r--r--tools/intel-features/intel-mpx/test/TestMPXTable.py (renamed from tools/intel-mpx/test/TestMPXTable.py)11
-rw-r--r--tools/intel-features/intel-mpx/test/main.cpp (renamed from tools/intel-mpx/test/main.cpp)3
-rw-r--r--tools/intel-features/intel-pt/CMakeLists.txt31
-rw-r--r--tools/intel-features/intel-pt/Decoder.cpp904
-rw-r--r--tools/intel-features/intel-pt/Decoder.h327
-rw-r--r--tools/intel-features/intel-pt/PTDecoder.cpp175
-rw-r--r--tools/intel-features/intel-pt/PTDecoder.h310
-rw-r--r--tools/intel-features/intel-pt/README_CLI.txt123
-rw-r--r--tools/intel-features/intel-pt/README_TOOL.txt311
-rw-r--r--tools/intel-features/intel-pt/cli-wrapper-pt.cpp583
-rw-r--r--tools/intel-features/intel-pt/cli-wrapper-pt.h13
-rw-r--r--tools/intel-features/intel-pt/interface/PTDecoder.i10
-rw-r--r--tools/intel-features/scripts/CMakeLists.txt37
-rw-r--r--tools/intel-features/scripts/lldb-intel-features.swig16
-rw-r--r--tools/intel-features/scripts/python-typemaps.txt31
-rw-r--r--tools/intel-mpx/CMakeLists.txt15
-rw-r--r--tools/lldb-mi/MICmdCmdVar.cpp14
-rw-r--r--tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp4
-rw-r--r--tools/lldb-mi/MIDriverMain.cpp8
-rw-r--r--tools/lldb-server/CMakeLists.txt37
-rw-r--r--tools/lldb-server/lldb-gdbserver.cpp99
-rw-r--r--tools/lldb-test/CMakeLists.txt27
-rw-r--r--tools/lldb-test/FormatUtil.cpp69
-rw-r--r--tools/lldb-test/FormatUtil.h75
-rw-r--r--tools/lldb-test/SystemInitializerTest.cpp345
-rw-r--r--tools/lldb-test/SystemInitializerTest.h35
-rw-r--r--tools/lldb-test/lldb-test.cpp126
-rw-r--r--unittests/CMakeLists.txt7
-rw-r--r--unittests/Core/CMakeLists.txt1
-rw-r--r--unittests/Core/DataExtractorTest.cpp117
-rw-r--r--unittests/Editline/EditlineTest.cpp4
-rw-r--r--unittests/Host/CMakeLists.txt2
-rw-r--r--unittests/Host/HostInfoTest.cpp45
-rw-r--r--unittests/Host/MainLoopTest.cpp20
-rw-r--r--unittests/Host/TaskPoolTest.cpp (renamed from unittests/Utility/TaskPoolTest.cpp)4
-rw-r--r--unittests/Interpreter/CMakeLists.txt1
-rw-r--r--unittests/Interpreter/TestArgs.cpp11
-rw-r--r--unittests/Interpreter/TestCompletion.cpp2
-rw-r--r--unittests/ObjectFile/ELF/TestObjectFileELF.cpp7
-rw-r--r--unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp42
-rw-r--r--unittests/Process/minidump/MinidumpParserTest.cpp8
-rw-r--r--unittests/Symbol/TestClangASTContext.cpp56
-rw-r--r--unittests/Symbol/TestDWARFCallFrameInfo.cpp5
-rw-r--r--unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp4
-rw-r--r--unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp4
-rw-r--r--unittests/Target/ModuleCacheTest.cpp2
-rw-r--r--unittests/TestingSupport/CMakeLists.txt (renamed from unittests/Utility/Helpers/CMakeLists.txt)0
-rw-r--r--unittests/TestingSupport/MockTildeExpressionResolver.cpp (renamed from unittests/Utility/Helpers/MockTildeExpressionResolver.cpp)0
-rw-r--r--unittests/TestingSupport/MockTildeExpressionResolver.h (renamed from unittests/Utility/Helpers/MockTildeExpressionResolver.h)0
-rw-r--r--unittests/TestingSupport/TestUtilities.cpp (renamed from unittests/Utility/Helpers/TestUtilities.cpp)0
-rw-r--r--unittests/TestingSupport/TestUtilities.h (renamed from unittests/Utility/Helpers/TestUtilities.h)0
-rw-r--r--unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp12
-rw-r--r--unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp6
-rw-r--r--unittests/Utility/ArchSpecTest.cpp (renamed from unittests/Core/ArchSpecTest.cpp)3
-rw-r--r--unittests/Utility/CMakeLists.txt5
-rw-r--r--unittests/Utility/JSONTest.cpp26
-rw-r--r--unittests/Utility/StructuredDataTest.cpp2
-rw-r--r--unittests/Utility/TildeExpressionResolverTest.cpp2
-rw-r--r--unittests/Utility/VASprintfTest.cpp12
-rw-r--r--unittests/debugserver/CMakeLists.txt19
-rw-r--r--unittests/tools/CMakeLists.txt2
-rw-r--r--unittests/tools/lldb-server/CMakeLists.txt18
-rw-r--r--unittests/tools/lldb-server/inferior/environment_check.cpp20
-rw-r--r--unittests/tools/lldb-server/tests/CMakeLists.txt8
-rw-r--r--unittests/tools/lldb-server/tests/LLGSTest.cpp36
-rw-r--r--unittests/tools/lldb-server/tests/MessageObjects.cpp152
-rw-r--r--unittests/tools/lldb-server/tests/MessageObjects.h85
-rw-r--r--unittests/tools/lldb-server/tests/TestBase.cpp36
-rw-r--r--unittests/tools/lldb-server/tests/TestBase.h48
-rw-r--r--unittests/tools/lldb-server/tests/TestClient.cpp291
-rw-r--r--unittests/tools/lldb-server/tests/TestClient.h74
-rw-r--r--unittests/tools/lldb-server/tests/ThreadIdsInJstopinfoTest.cpp46
-rwxr-xr-xwww/build.html28
-rw-r--r--www/remote.html140
-rw-r--r--www/test.html176
-rwxr-xr-xwww/troubleshooting.html16
-rwxr-xr-xwww/tutorial.html67
979 files changed, 20235 insertions, 7065 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ada293811b3e..c6b082e104e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -11,6 +11,13 @@ include(LLDBStandalone)
include(LLDBConfig)
include(AddLLDB)
+# Define the LLDB_CONFIGURATION_xxx matching the build type
+if( uppercase_CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
+ add_definitions( -DLLDB_CONFIGURATION_DEBUG )
+else()
+ add_definitions( -DLLDB_CONFIGURATION_RELEASE )
+endif()
+
if (CMAKE_SYSTEM_NAME MATCHES "Windows|Android")
set(LLDB_DEFAULT_DISABLE_LIBEDIT 1)
else()
@@ -24,6 +31,10 @@ if (LLDB_DISABLE_LIBEDIT)
add_definitions( -DLLDB_DISABLE_LIBEDIT )
endif()
+if(APPLE)
+ add_definitions(-DLLDB_USE_OS_LOG)
+endif()
+
# add_subdirectory(include)
add_subdirectory(docs)
if (NOT LLDB_DISABLE_PYTHON)
@@ -32,22 +43,45 @@ if (NOT LLDB_DISABLE_PYTHON)
endif()
set(LLDB_PYTHON_TARGET_DIR ${LLDB_BINARY_DIR}/scripts)
+ set(LLDB_WRAP_PYTHON ${LLDB_BINARY_DIR}/scripts/LLDBWrapPython.cpp)
if(LLDB_BUILD_FRAMEWORK)
set(LLDB_PYTHON_TARGET_DIR
${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_FRAMEWORK_INSTALL_DIR})
+ set(LLDB_WRAP_PYTHON ${LLDB_PYTHON_TARGET_DIR}/LLDBWrapPython.cpp)
else()
# Don't set -m when building the framework.
set(FINISH_EXTRA_ARGS "-m")
endif()
- set(LLDB_WRAP_PYTHON ${LLDB_BINARY_DIR}/scripts/LLDBWrapPython.cpp)
+
add_subdirectory(scripts)
endif ()
add_subdirectory(source)
-add_subdirectory(test)
add_subdirectory(tools)
-add_subdirectory(unittests)
-add_subdirectory(lit)
+
+option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests."
+ ${LLVM_INCLUDE_TESTS})
+if(LLDB_INCLUDE_TESTS)
+ if (TARGET clang)
+ set(LLDB_DEFAULT_TEST_C_COMPILER "${LLVM_BINARY_DIR}/bin/clang${CMAKE_EXECUTABLE_SUFFIX}")
+ set(LLDB_DEFAULT_TEST_CXX_COMPILER "${LLVM_BINARY_DIR}/bin/clang++${CMAKE_EXECUTABLE_SUFFIX}")
+ else()
+ set(LLDB_DEFAULT_TEST_C_COMPILER "")
+ set(LLDB_DEFAULT_TEST_CXX_COMPILER "")
+ endif()
+
+ set(LLDB_TEST_C_COMPILER "${LLDB_DEFAULT_TEST_C_COMPILER}" CACHE PATH "C Compiler to use for building LLDB test inferiors")
+ set(LLDB_TEST_CXX_COMPILER "${LLDB_DEFAULT_TEST_CXX_COMPILER}" CACHE PATH "C++ Compiler to use for building LLDB test inferiors")
+
+ if (("${LLDB_TEST_C_COMPILER}" STREQUAL "") OR
+ ("${LLDB_TEST_CXX_COMPILER}" STREQUAL ""))
+ message(FATAL_ERROR "LLDB test compilers not specified. Tests will not run")
+ endif()
+
+ add_subdirectory(test)
+ add_subdirectory(unittests)
+ add_subdirectory(lit)
+endif()
if (NOT LLDB_DISABLE_PYTHON)
# Add a Post-Build Event to copy over Python files and create the symlink
diff --git a/CODE_OWNERS.txt b/CODE_OWNERS.txt
index 8fe43284cf6c..dac886870779 100644
--- a/CODE_OWNERS.txt
+++ b/CODE_OWNERS.txt
@@ -8,10 +8,6 @@ beautification by scripts. The fields are: name (N), email (E), web-address
(W), PGP key ID and fingerprint (P), description (D), and snail-mail address
(S).
-N: Sean Callanan
-E: scallanan@apple.com
-D: Expression evaluator, IR interpreter, Clang integration
-
N: Greg Clayton
E: clayborg@gmail.com
D: Overall LLDB architecture, Host (common+macosx), Symbol, API, ABI, Mac-specific code,
@@ -22,6 +18,7 @@ N: Jim Ingham
E: jingham@apple.com
D: Overall LLDB architecture, Thread plans, Expression parser, ValueObject, Breakpoints, ABI
D: Watchpoints, Trampolines, Target, Command Interpreter, C++ / Objective C Language runtime
+D: Expression evaluator, IR interpreter, Clang integration
D: Data Formatters
N: Ilia K
diff --git a/cmake/LLDBDependencies.cmake b/cmake/LLDBDependencies.cmake
deleted file mode 100644
index 55ce37908563..000000000000
--- a/cmake/LLDBDependencies.cmake
+++ /dev/null
@@ -1,52 +0,0 @@
-set(LLDB_SYSTEM_LIBS)
-
-# Windows-only libraries
-if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
- list(APPEND LLDB_SYSTEM_LIBS
- ws2_32
- rpcrt4
- )
-endif ()
-
-if (NOT LLDB_DISABLE_LIBEDIT)
- list(APPEND LLDB_SYSTEM_LIBS edit)
-endif()
-if (NOT LLDB_DISABLE_CURSES)
- list(APPEND LLDB_SYSTEM_LIBS ${CURSES_LIBRARIES})
- if(LLVM_ENABLE_TERMINFO AND HAVE_TERMINFO)
- list(APPEND LLDB_SYSTEM_LIBS ${TERMINFO_LIBS})
- endif()
-endif()
-
-if (NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB )
- list(APPEND LLDB_SYSTEM_LIBS atomic)
-endif()
-
-list(APPEND LLDB_SYSTEM_LIBS ${Backtrace_LIBRARY})
-
-if (NOT LLDB_DISABLE_PYTHON AND NOT LLVM_BUILD_STATIC)
- list(APPEND LLDB_SYSTEM_LIBS ${PYTHON_LIBRARIES})
-endif()
-
-list(APPEND LLDB_SYSTEM_LIBS ${system_libs})
-
-if (LLVM_BUILD_STATIC)
- if (NOT LLDB_DISABLE_PYTHON)
- list(APPEND LLDB_SYSTEM_LIBS python2.7 util)
- endif()
- if (NOT LLDB_DISABLE_CURSES)
- list(APPEND LLDB_SYSTEM_LIBS gpm)
- endif()
-endif()
-
-if ( NOT LLDB_DISABLE_PYTHON )
- set_source_files_properties(${LLDB_WRAP_PYTHON} PROPERTIES GENERATED 1)
- if (CLANG_CL)
- set_source_files_properties(${LLDB_WRAP_PYTHON} PROPERTIES COMPILE_FLAGS -Wno-unused-function)
- endif()
- if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND
- NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
- set_property(SOURCE ${LLDB_WRAP_PYTHON}
- APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-sequence-point -Wno-cast-qual")
- endif ()
-endif()
diff --git a/cmake/modules/AddLLDB.cmake b/cmake/modules/AddLLDB.cmake
index 4c6f1efd673d..2fd8b384d9e3 100644
--- a/cmake/modules/AddLLDB.cmake
+++ b/cmake/modules/AddLLDB.cmake
@@ -4,7 +4,7 @@ function(add_lldb_library name)
cmake_parse_arguments(PARAM
"MODULE;SHARED;STATIC;OBJECT;PLUGIN"
""
- "DEPENDS;LINK_LIBS;LINK_COMPONENTS"
+ "EXTRA_CXXFLAGS;DEPENDS;LINK_LIBS;LINK_COMPONENTS"
${ARGN})
llvm_process_sources(srcs ${PARAM_UNPARSED_ARGUMENTS})
list(APPEND LLVM_LINK_COMPONENTS ${PARAM_LINK_COMPONENTS})
@@ -35,6 +35,8 @@ function(add_lldb_library name)
endif()
#PIC not needed on Win
+ # FIXME: Setting CMAKE_CXX_FLAGS here is a no-op, use target_compile_options
+ # or omit this logic instead.
if (NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
@@ -64,11 +66,9 @@ function(add_lldb_library name)
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX})
endif()
if (NOT CMAKE_CONFIGURATION_TYPES)
- add_custom_target(install-${name}
- DEPENDS ${name}
- COMMAND "${CMAKE_COMMAND}"
- -DCMAKE_INSTALL_COMPONENT=${name}
- -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
+ add_llvm_install_targets(install-${name}
+ DEPENDS ${name}
+ COMPONENT ${name})
endif()
endif()
endif()
@@ -76,10 +76,10 @@ function(add_lldb_library name)
# Hack: only some LLDB libraries depend on the clang autogenerated headers,
# but it is simple enough to make all of LLDB depend on some of those
# headers without negatively impacting much of anything.
- get_property(CLANG_TABLEGEN_TARGETS GLOBAL PROPERTY CLANG_TABLEGEN_TARGETS)
- if(CLANG_TABLEGEN_TARGETS)
- add_dependencies(${name} ${CLANG_TABLEGEN_TARGETS})
- endif()
+ add_dependencies(${name} clang-tablegen-targets)
+
+ # Add in any extra C++ compilation flags for this library.
+ target_compile_options(${name} PRIVATE ${PARAM_EXTRA_CXXFLAGS})
set_target_properties(${name} PROPERTIES FOLDER "lldb libraries")
endfunction(add_lldb_library)
@@ -95,17 +95,21 @@ function(add_lldb_executable name)
list(APPEND LLVM_LINK_COMPONENTS ${ARG_LINK_COMPONENTS})
add_llvm_executable(${name} ${ARG_UNPARSED_ARGUMENTS})
- target_link_libraries(${name} ${ARG_LINK_LIBS})
+ target_link_libraries(${name} PRIVATE ${ARG_LINK_LIBS})
set_target_properties(${name} PROPERTIES
FOLDER "lldb executables")
if(LLDB_BUILD_FRAMEWORK)
if(ARG_INCLUDE_IN_FRAMEWORK)
+ if(NOT IOS)
+ set(resource_dir "/Resources")
+ set(resource_dots "../")
+ endif()
string(REGEX REPLACE "[^/]+" ".." _dots ${LLDB_FRAMEWORK_INSTALL_DIR})
set_target_properties(${name} PROPERTIES
- RUNTIME_OUTPUT_DIRECTORY $<TARGET_FILE_DIR:liblldb>/Resources
+ RUNTIME_OUTPUT_DIRECTORY $<TARGET_FILE_DIR:liblldb>${resource_dir}
BUILD_WITH_INSTALL_RPATH On
- INSTALL_RPATH "@loader_path/../../../../${_dots}/${LLDB_FRAMEWORK_INSTALL_DIR}")
+ INSTALL_RPATH "@loader_path/../../../${resource_dots}${_dots}/${LLDB_FRAMEWORK_INSTALL_DIR}")
# For things inside the framework we don't need functional install targets
# because CMake copies the resources and headers from the build directory.
# But we still need this target to exist in order to use the
@@ -115,6 +119,8 @@ function(add_lldb_executable name)
if(ARG_GENERATE_INSTALL)
add_custom_target(install-${name} DEPENDS ${name})
add_dependencies(install-liblldb ${name})
+ add_custom_target(install-${name}-stripped DEPENDS ${name})
+ add_dependencies(install-liblldb-stripped ${name})
endif()
else()
set_target_properties(${name} PROPERTIES
@@ -128,11 +134,9 @@ function(add_lldb_executable name)
COMPONENT ${name}
RUNTIME DESTINATION bin)
if (NOT CMAKE_CONFIGURATION_TYPES)
- add_custom_target(install-${name}
- DEPENDS ${name}
- COMMAND "${CMAKE_COMMAND}"
- -DCMAKE_INSTALL_COMPONENT=${name}
- -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
+ add_llvm_install_targets(install-${name}
+ DEPENDS ${name}
+ COMPONENT ${name})
endif()
endif()
diff --git a/cmake/modules/LLDBConfig.cmake b/cmake/modules/LLDBConfig.cmake
index 726552675f47..8f75880dfbff 100644
--- a/cmake/modules/LLDBConfig.cmake
+++ b/cmake/modules/LLDBConfig.cmake
@@ -22,10 +22,6 @@ elseif(IOS)
set(LLDB_DEFAULT_DISABLE_PYTHON 1)
endif()
-if(IOS)
- add_definitions(-DNO_XPC_SERVICES)
-endif()
-
set(LLDB_DISABLE_PYTHON ${LLDB_DEFAULT_DISABLE_PYTHON} CACHE BOOL
"Disables the Python scripting integration.")
set(LLDB_DISABLE_CURSES ${LLDB_DEFAULT_DISABLE_CURSES} CACHE BOOL
@@ -235,6 +231,12 @@ if (CXX_SUPPORTS_NO_VLA_EXTENSION)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-vla-extension")
endif ()
+check_cxx_compiler_flag("-Wno-gnu-anonymous-struct"
+ CXX_SUPPORTS_NO_GNU_ANONYMOUS_STRUCT)
+
+check_cxx_compiler_flag("-Wno-nested-anon-types"
+ CXX_SUPPORTS_NO_NESTED_ANON_TYPES)
+
# Disable MSVC warnings
if( MSVC )
add_definitions(
@@ -282,6 +284,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
PATTERN ".svn" EXCLUDE
PATTERN ".cmake" EXCLUDE
PATTERN "Config.h" EXCLUDE
+ PATTERN "lldb-*.h" EXCLUDE
+ PATTERN "API/*.h" EXCLUDE
)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
@@ -291,6 +295,8 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
PATTERN "*.h"
PATTERN ".svn" EXCLUDE
PATTERN ".cmake" EXCLUDE
+ PATTERN "lldb-*.h" EXCLUDE
+ PATTERN "API/*.h" EXCLUDE
)
endif()
diff --git a/cmake/modules/LLDBGenerateConfig.cmake b/cmake/modules/LLDBGenerateConfig.cmake
index d3d0cb220b93..ca2d5842a806 100644
--- a/cmake/modules/LLDBGenerateConfig.cmake
+++ b/cmake/modules/LLDBGenerateConfig.cmake
@@ -3,11 +3,13 @@
include(CheckSymbolExists)
include(CheckIncludeFile)
include(CheckIncludeFiles)
+include(CheckLibraryExists)
set(CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE)
check_symbol_exists(ppoll poll.h HAVE_PPOLL)
set(CMAKE_REQUIRED_DEFINITIONS)
check_symbol_exists(sigaction signal.h HAVE_SIGACTION)
+check_cxx_symbol_exists(accept4 "sys/socket.h" HAVE_ACCEPT4)
check_include_file(termios.h HAVE_TERMIOS_H)
check_include_files("sys/types.h;sys/event.h" HAVE_SYS_EVENT_H)
@@ -21,6 +23,8 @@ check_cxx_source_compiles("
int main() { return __NR_process_vm_readv; }"
HAVE_NR_PROCESS_VM_READV)
+check_library_exists(compression compression_encode_buffer "" HAVE_LIBCOMPRESSION)
+
# These checks exist in LLVM's configuration, so I want to match the LLVM names
# so that the check isn't duplicated, but we translate them into the LLDB names
# so that I don't have to change all the uses at the moment.
diff --git a/cmake/modules/LLDBStandalone.cmake b/cmake/modules/LLDBStandalone.cmake
index 2f959c91fdd7..f07a3fcb57b6 100644
--- a/cmake/modules/LLDBStandalone.cmake
+++ b/cmake/modules/LLDBStandalone.cmake
@@ -3,10 +3,6 @@
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
project(lldb)
- if (POLICY CMP0022)
- cmake_policy(SET CMP0022 NEW) # automatic when 2.8.12 is required
- endif()
-
option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
# Rely on llvm-config.
diff --git a/examples/darwin/heap_find/heap.py b/examples/darwin/heap_find/heap.py
index 2189077a4e1c..81f36adb9c51 100644
--- a/examples/darwin/heap_find/heap.py
+++ b/examples/darwin/heap_find/heap.py
@@ -576,19 +576,19 @@ typedef struct $malloc_stack_history {
unsigned idx;
malloc_stack_entry entries[MAX_HISTORY];
} $malloc_stack_history;
-$malloc_stack_history info = { (task_t)mach_task_self(), 0 };
+$malloc_stack_history lldb_info = { (task_t)mach_task_self(), 0 };
uint32_t max_stack_frames = MAX_FRAMES;
enumerate_callback_t callback = [] (mach_stack_logging_record_t stack_record, void *baton) -> void {
- $malloc_stack_history *info = ($malloc_stack_history *)baton;
- if (info->idx < MAX_HISTORY) {
- malloc_stack_entry *stack_entry = &(info->entries[info->idx]);
+ $malloc_stack_history *lldb_info = ($malloc_stack_history *)baton;
+ if (lldb_info->idx < MAX_HISTORY) {
+ malloc_stack_entry *stack_entry = &(lldb_info->entries[lldb_info->idx]);
stack_entry->address = stack_record.address;
stack_entry->type_flags = stack_record.type_flags;
stack_entry->argument = stack_record.argument;
stack_entry->num_frames = 0;
stack_entry->frames[0] = 0;
stack_entry->frames_err = (kern_return_t)__mach_stack_logging_frames_for_uniqued_stack (
- info->task,
+ lldb_info->task,
stack_record.stack_identifier,
stack_entry->frames,
(uint32_t)MAX_FRAMES,
@@ -597,10 +597,10 @@ enumerate_callback_t callback = [] (mach_stack_logging_record_t stack_record, vo
if (stack_entry->num_frames < MAX_FRAMES)
stack_entry->frames[stack_entry->num_frames] = 0;
}
- ++info->idx;
+ ++lldb_info->idx;
};
-(kern_return_t)__mach_stack_logging_enumerate_records (info.task, (uint64_t)0x%x, callback, &info);
-info''' % (options.max_frames, options.max_history, addr)
+(kern_return_t)__mach_stack_logging_enumerate_records (lldb_info.task, (uint64_t)0x%x, callback, &lldb_info);
+lldb_info''' % (options.max_frames, options.max_history, addr)
frame = lldb.debugger.GetSelectedTarget().GetProcess(
).GetSelectedThread().GetSelectedFrame()
@@ -924,18 +924,18 @@ typedef struct callback_baton_t {
void *ptr;
} callback_baton_t;
range_callback_t range_callback = [](task_t task, void *baton, unsigned type, uintptr_t ptr_addr, uintptr_t ptr_size) -> void {
- callback_baton_t *info = (callback_baton_t *)baton;
+ callback_baton_t *lldb_info = (callback_baton_t *)baton;
typedef void* T;
const unsigned size = sizeof(T);
T *array = (T*)ptr_addr;
for (unsigned idx = 0; ((idx + 1) * sizeof(T)) <= ptr_size; ++idx) {
- if (array[idx] == info->ptr) {
- if (info->num_matches < MAX_MATCHES) {
- info->matches[info->num_matches].addr = (void*)ptr_addr;
- info->matches[info->num_matches].size = ptr_size;
- info->matches[info->num_matches].offset = idx*sizeof(T);
- info->matches[info->num_matches].type = type;
- ++info->num_matches;
+ if (array[idx] == lldb_info->ptr) {
+ if (lldb_info->num_matches < MAX_MATCHES) {
+ lldb_info->matches[lldb_info->num_matches].addr = (void*)ptr_addr;
+ lldb_info->matches[lldb_info->num_matches].size = ptr_size;
+ lldb_info->matches[lldb_info->num_matches].offset = idx*sizeof(T);
+ lldb_info->matches[lldb_info->num_matches].type = type;
+ ++lldb_info->num_matches;
}
}
}
@@ -1033,18 +1033,18 @@ typedef struct callback_baton_t {
unsigned cstr_len;
} callback_baton_t;
range_callback_t range_callback = [](task_t task, void *baton, unsigned type, uintptr_t ptr_addr, uintptr_t ptr_size) -> void {
- callback_baton_t *info = (callback_baton_t *)baton;
- if (info->cstr_len < ptr_size) {
+ callback_baton_t *lldb_info = (callback_baton_t *)baton;
+ if (lldb_info->cstr_len < ptr_size) {
const char *begin = (const char *)ptr_addr;
const char *end = begin + ptr_size - info->cstr_len;
for (const char *s = begin; s < end; ++s) {
- if ((int)memcmp(s, info->cstr, info->cstr_len) == 0) {
- if (info->num_matches < MAX_MATCHES) {
- info->matches[info->num_matches].addr = (void*)ptr_addr;
- info->matches[info->num_matches].size = ptr_size;
- info->matches[info->num_matches].offset = s - begin;
- info->matches[info->num_matches].type = type;
- ++info->num_matches;
+ if ((int)memcmp(s, lldb_info->cstr, lldb_info->cstr_len) == 0) {
+ if (lldb_info->num_matches < MAX_MATCHES) {
+ lldb_info->matches[lldb_info->num_matches].addr = (void*)ptr_addr;
+ lldb_info->matches[lldb_info->num_matches].size = ptr_size;
+ lldb_info->matches[lldb_info->num_matches].offset = s - begin;
+ lldb_info->matches[lldb_info->num_matches].type = type;
+ ++lldb_info->num_matches;
}
}
}
@@ -1135,17 +1135,17 @@ typedef struct callback_baton_t {
void *ptr;
} callback_baton_t;
range_callback_t range_callback = [](task_t task, void *baton, unsigned type, uintptr_t ptr_addr, uintptr_t ptr_size) -> void {
- callback_baton_t *info = (callback_baton_t *)baton;
- if (info->num_matches == 0) {
- uint8_t *p = (uint8_t *)info->ptr;
+ callback_baton_t *lldb_info = (callback_baton_t *)baton;
+ if (lldb_info->num_matches == 0) {
+ uint8_t *p = (uint8_t *)lldb_info->ptr;
uint8_t *lo = (uint8_t *)ptr_addr;
uint8_t *hi = lo + ptr_size;
if (lo <= p && p < hi) {
- info->matches[info->num_matches].addr = (void*)ptr_addr;
- info->matches[info->num_matches].size = ptr_size;
- info->matches[info->num_matches].offset = p - lo;
- info->matches[info->num_matches].type = type;
- info->num_matches = 1;
+ lldb_info->matches[lldb_info->num_matches].addr = (void*)ptr_addr;
+ lldb_info->matches[lldb_info->num_matches].size = ptr_size;
+ lldb_info->matches[lldb_info->num_matches].offset = p - lo;
+ lldb_info->matches[lldb_info->num_matches].type = type;
+ lldb_info->num_matches = 1;
}
}
};
@@ -1397,24 +1397,24 @@ compare_callback_t compare_callback = [](const void *a, const void *b) -> int {
typedef Class (*class_getSuperclass_type)(void *isa);
range_callback_t range_callback = [](task_t task, void *baton, unsigned type, uintptr_t ptr_addr, uintptr_t ptr_size) -> void {
class_getSuperclass_type class_getSuperclass_impl = (class_getSuperclass_type)class_getSuperclass;
- callback_baton_t *info = (callback_baton_t *)baton;
+ callback_baton_t *lldb_info = (callback_baton_t *)baton;
if (sizeof(Class) <= ptr_size) {
Class *curr_class_ptr = (Class *)ptr_addr;
Class *matching_class_ptr = (Class *)bsearch (curr_class_ptr,
- (const void *)info->classes,
- sizeof(info->classes)/sizeof(Class),
+ (const void *)lldb_info->classes,
+ sizeof(lldb_info->classes)/sizeof(Class),
sizeof(Class),
- info->compare_callback);
+ lldb_info->compare_callback);
if (matching_class_ptr) {
bool match = false;
- if (info->isa) {
+ if (lldb_info->isa) {
Class isa = *curr_class_ptr;
- if (info->isa == isa)
+ if (lldb_info->isa == isa)
match = true;
- else { // if (info->objc.match_superclasses) {
+ else { // if (lldb_info->objc.match_superclasses) {
Class super = class_getSuperclass_impl(isa);
while (super) {
- if (super == info->isa) {
+ if (super == lldb_info->isa) {
match = true;
break;
}
@@ -1425,12 +1425,12 @@ range_callback_t range_callback = [](task_t task, void *baton, unsigned type, ui
else
match = true;
if (match) {
- if (info->num_matches < MAX_MATCHES) {
- info->matches[info->num_matches].addr = (void*)ptr_addr;
- info->matches[info->num_matches].size = ptr_size;
- info->matches[info->num_matches].offset = 0;
- info->matches[info->num_matches].type = type;
- ++info->num_matches;
+ if (lldb_info->num_matches < MAX_MATCHES) {
+ lldb_info->matches[lldb_info->num_matches].addr = (void*)ptr_addr;
+ lldb_info->matches[lldb_info->num_matches].size = ptr_size;
+ lldb_info->matches[lldb_info->num_matches].offset = 0;
+ lldb_info->matches[lldb_info->num_matches].type = type;
+ ++lldb_info->num_matches;
}
}
}
diff --git a/examples/python/cmdtemplate.py b/examples/python/cmdtemplate.py
index dfe3e6fa52b9..4d506b91aaf8 100644
--- a/examples/python/cmdtemplate.py
+++ b/examples/python/cmdtemplate.py
@@ -14,99 +14,109 @@ import commands
import optparse
import shlex
+class FrameStatCommand:
+ def create_options(self):
-def create_framestats_options():
- usage = "usage: %prog [options]"
- description = '''This command is meant to be an example of how to make an LLDB command that
+ usage = "usage: %prog [options]"
+ description = '''This command is meant to be an example of how to make an LLDB command that
does something useful, follows best practices, and exploits the SB API.
Specifically, this command computes the aggregate and average size of the variables in the current frame
and allows you to tweak exactly which variables are to be accounted in the computation.
'''
- parser = optparse.OptionParser(
- description=description,
- prog='framestats',
- usage=usage)
- parser.add_option(
- '-i',
- '--in-scope',
- action='store_true',
- dest='inscope',
- help='in_scope_only = True',
- default=False)
- parser.add_option(
- '-a',
- '--arguments',
- action='store_true',
- dest='arguments',
- help='arguments = True',
- default=False)
- parser.add_option(
- '-l',
- '--locals',
- action='store_true',
- dest='locals',
- help='locals = True',
- default=False)
- parser.add_option(
- '-s',
- '--statics',
- action='store_true',
- dest='statics',
- help='statics = True',
- default=False)
- return parser
-
-
-def the_framestats_command(debugger, command, result, dict):
- # Use the Shell Lexer to properly parse up command options just like a
- # shell would
- command_args = shlex.split(command)
- parser = create_framestats_options()
- try:
- (options, args) = parser.parse_args(command_args)
- except:
- # if you don't handle exceptions, passing an incorrect argument to the OptionParser will cause LLDB to exit
- # (courtesy of OptParse dealing with argument errors by throwing SystemExit)
- result.SetError("option parsing failed")
- return
-
- # in a command - the lldb.* convenience variables are not to be used
- # and their values (if any) are undefined
- # this is the best practice to access those objects from within a command
- target = debugger.GetSelectedTarget()
- process = target.GetProcess()
- thread = process.GetSelectedThread()
- frame = thread.GetSelectedFrame()
- if not frame.IsValid():
- return "no frame here"
- # from now on, replace lldb.<thing>.whatever with <thing>.whatever
- variables_list = frame.GetVariables(
- options.arguments,
- options.locals,
- options.statics,
- options.inscope)
- variables_count = variables_list.GetSize()
- if variables_count == 0:
- print >> result, "no variables here"
- return
- total_size = 0
- for i in range(0, variables_count):
- variable = variables_list.GetValueAtIndex(i)
- variable_type = variable.GetType()
- total_size = total_size + variable_type.GetByteSize()
- average_size = float(total_size) / variables_count
- print >>result, "Your frame has %d variables. Their total size is %d bytes. The average size is %f bytes" % (
- variables_count, total_size, average_size)
- # not returning anything is akin to returning success
+
+ # Pass add_help_option = False, since this keeps the command in line with lldb commands,
+ # and we wire up "help command" to work by providing the long & short help methods below.
+ self.parser = optparse.OptionParser(
+ description = description,
+ prog = 'framestats',
+ usage = usage,
+ add_help_option = False)
+
+ self.parser.add_option(
+ '-i',
+ '--in-scope',
+ action = 'store_true',
+ dest = 'inscope',
+ help = 'in_scope_only = True',
+ default = True)
+
+ self.parser.add_option(
+ '-a',
+ '--arguments',
+ action = 'store_true',
+ dest = 'arguments',
+ help = 'arguments = True',
+ default = True)
+
+ self.parser.add_option(
+ '-l',
+ '--locals',
+ action = 'store_true',
+ dest = 'locals',
+ help = 'locals = True',
+ default = True)
+
+ self.parser.add_option(
+ '-s',
+ '--statics',
+ action = 'store_true',
+ dest = 'statics',
+ help = 'statics = True',
+ default = True)
+
+ def get_short_help(self):
+ return "Example command for use in debugging"
+
+ def get_long_help(self):
+ return self.help_string
+
+ def __init__(self, debugger, unused):
+ self.create_options()
+ self.help_string = self.parser.format_help()
+
+ def __call__(self, debugger, command, exe_ctx, result):
+ # Use the Shell Lexer to properly parse up command options just like a
+ # shell would
+ command_args = shlex.split(command)
+
+ try:
+ (options, args) = self.parser.parse_args(command_args)
+ except:
+ # if you don't handle exceptions, passing an incorrect argument to the OptionParser will cause LLDB to exit
+ # (courtesy of OptParse dealing with argument errors by throwing SystemExit)
+ result.SetError("option parsing failed")
+ return
+
+ # Always get program state from the SBExecutionContext passed in as exe_ctx
+ frame = exe_ctx.GetFrame()
+ if not frame.IsValid():
+ result.SetError("invalid frame")
+ return
+
+ variables_list = frame.GetVariables(
+ options.arguments,
+ options.locals,
+ options.statics,
+ options.inscope)
+ variables_count = variables_list.GetSize()
+ if variables_count == 0:
+ print >> result, "no variables here"
+ return
+ total_size = 0
+ for i in range(0, variables_count):
+ variable = variables_list.GetValueAtIndex(i)
+ variable_type = variable.GetType()
+ total_size = total_size + variable_type.GetByteSize()
+ average_size = float(total_size) / variables_count
+ print >>result, "Your frame has %d variables. Their total size is %d bytes. The average size is %f bytes" % (
+ variables_count, total_size, average_size)
+ # not returning anything is akin to returning success
def __lldb_init_module(debugger, dict):
# This initializer is being run from LLDB in the embedded command interpreter
- # Make the options so we can generate the help text for the new LLDB
- # command line command prior to registering it with LLDB below
- parser = create_framestats_options()
- the_framestats_command.__doc__ = parser.format_help()
+
# Add any commands contained in this module to LLDB
debugger.HandleCommand(
- 'command script add -f cmdtemplate.the_framestats_command framestats')
- print 'The "framestats" command has been installed, type "help framestats" or "framestats --help" for detailed help.'
+ 'command script add -c cmdtemplate.FrameStatCommand framestats')
+ print 'The "framestats" command has been installed, type "help framestats" for detailed help.'
diff --git a/examples/python/crashlog.py b/examples/python/crashlog.py
index 7270f60f4373..227fce114052 100755
--- a/examples/python/crashlog.py
+++ b/examples/python/crashlog.py
@@ -680,7 +680,7 @@ def interactive_crashlogs(options, args):
interpreter.cmdloop()
-def save_crashlog(debugger, command, result, dict):
+def save_crashlog(debugger, command, exe_ctx, result, dict):
usage = "usage: %prog [options] <output-path>"
description = '''Export the state of current target into a crashlog file'''
parser = optparse.OptionParser(
@@ -709,11 +709,12 @@ def save_crashlog(debugger, command, result, dict):
"error: failed to open file '%s' for writing...",
args[0])
return
- target = debugger.GetSelectedTarget()
+ target = exe_ctx.target
if target:
identifier = target.executable.basename
- if lldb.process:
- pid = lldb.process.id
+ process = exe_ctx.process
+ if process:
+ pid = process.id
if pid != lldb.LLDB_INVALID_PROCESS_ID:
out_file.write(
'Process: %s [%u]\n' %
@@ -726,8 +727,8 @@ def save_crashlog(debugger, command, result, dict):
'OS Version: Mac OS X %s (%s)\n' %
(platform.mac_ver()[0], commands.getoutput('sysctl -n kern.osversion')))
out_file.write('Report Version: 9\n')
- for thread_idx in range(lldb.process.num_threads):
- thread = lldb.process.thread[thread_idx]
+ for thread_idx in range(process.num_threads):
+ thread = process.thread[thread_idx]
out_file.write('\nThread %u:\n' % (thread_idx))
for (frame_idx, frame) in enumerate(thread.frames):
frame_pc = frame.pc
diff --git a/examples/python/lldb_module_utils.py b/examples/python/lldb_module_utils.py
index eb00a489ce01..006f232681f8 100644
--- a/examples/python/lldb_module_utils.py
+++ b/examples/python/lldb_module_utils.py
@@ -7,72 +7,185 @@ import string
import sys
-def create_dump_module_line_tables_options():
- usage = "usage: dump_module_line_tables [options] MODULE1 [MODULE2 ...]"
- description = '''Dumps all line tables from all compile units for any modules specified as arguments. Specifying the --verbose flag will output address ranges for each line entry.'''
- parser = optparse.OptionParser(
- description=description,
- prog='start_gdb_log',
- usage=usage)
- parser.add_option(
- '-v',
- '--verbose',
- action='store_true',
- dest='verbose',
- help='Display verbose output.',
- default=False)
- return parser
-
-
-def dump_module_line_tables(debugger, command, result, dict):
- '''Dumps all line tables from all compile units for any modules specified as arguments.'''
- command_args = shlex.split(command)
-
- parser = create_dump_module_line_tables_options()
- try:
- (options, args) = parser.parse_args(command_args)
- except:
- return
- if command_args:
- target = debugger.GetSelectedTarget()
- lldb.target = target
- for module_name in command_args:
- result.PutCString('Searching for module "%s"' % (module_name,))
- module_fspec = lldb.SBFileSpec(module_name, False)
- module = target.FindModule(module_fspec)
- if module:
- for cu_idx in range(module.GetNumCompileUnits()):
- cu = module.GetCompileUnitAtIndex(cu_idx)
- result.PutCString("\n%s:" % (cu.file))
- for line_idx in range(cu.GetNumLineEntries()):
- line_entry = cu.GetLineEntryAtIndex(line_idx)
- start_file_addr = line_entry.addr.file_addr
- end_file_addr = line_entry.end_addr.file_addr
- # If the two addresses are equal, this line table entry
- # is a termination entry
- if options.verbose:
- if start_file_addr != end_file_addr:
- result.PutCString(
- '[%#x - %#x): %s' %
- (start_file_addr, end_file_addr, line_entry))
- else:
- if start_file_addr == end_file_addr:
- result.PutCString('%#x: END' %
- (start_file_addr))
- else:
- result.PutCString(
- '%#x: %s' %
- (start_file_addr, line_entry))
+class DumpLineTables:
+ command_name = "dump-line-tables"
+ short_decription = "Dumps full paths to compile unit files and optionally all line table files."
+ description = 'Dumps all line tables from all compile units for any modules specified as arguments. Specifying the --verbose flag will output address ranges for each line entry.'
+ usage = "usage: %prog [options] MODULE1 [MODULE2 ...]"
+ def create_options(self):
+ self.parser = optparse.OptionParser(
+ description=self.description,
+ prog=self.command_name,
+ usage=self.usage)
+
+ self.parser.add_option(
+ '-v',
+ '--verbose',
+ action='store_true',
+ dest='verbose',
+ help='Display verbose output.',
+ default=False)
+
+ def get_short_help(self):
+ return self.short_decription
+
+ def get_long_help(self):
+ return self.help_string
+
+ def __init__(self, debugger, unused):
+ self.create_options()
+ self.help_string = self.parser.format_help()
+
+ def __call__(self, debugger, command, exe_ctx, result):
+ # Use the Shell Lexer to properly parse up command options just like a
+ # shell would
+ command_args = shlex.split(command)
+
+ try:
+ (options, args) = self.parser.parse_args(command_args)
+ except:
+ # if you don't handle exceptions, passing an incorrect argument to the OptionParser will cause LLDB to exit
+ # (courtesy of OptParse dealing with argument errors by throwing SystemExit)
+ result.SetError("option parsing failed")
+ return
+
+ # Always get program state from the SBExecutionContext passed in as exe_ctx
+ target = exe_ctx.GetTarget()
+ if not target.IsValid():
+ result.SetError("invalid target")
+ return
+
+ for module_path in args:
+ module = target.module[module_path]
+ if not module:
+ result.SetError('no module found that matches "%s".' % (module_path))
+ return
+ num_cus = module.GetNumCompileUnits()
+ print >>result, 'Module: "%s"' % (module.file.fullpath),
+ if num_cus == 0:
+ print >>result, 'no debug info.'
+ continue
+ print >>result, 'has %u compile units:' % (num_cus)
+ for cu_idx in range(num_cus):
+ cu = module.GetCompileUnitAtIndex(cu_idx)
+ print >>result, ' Compile Unit: %s' % (cu.file.fullpath)
+ for line_idx in range(cu.GetNumLineEntries()):
+ line_entry = cu.GetLineEntryAtIndex(line_idx)
+ start_file_addr = line_entry.addr.file_addr
+ end_file_addr = line_entry.end_addr.file_addr
+ # If the two addresses are equal, this line table entry
+ # is a termination entry
+ if options.verbose:
+ if start_file_addr != end_file_addr:
+ result.PutCString(
+ ' [%#x - %#x): %s' %
+ (start_file_addr, end_file_addr, line_entry))
+ else:
if start_file_addr == end_file_addr:
- result.Printf("\n")
- else:
- result.PutCString("no module for '%s'" % module)
- else:
- result.PutCString("error: invalid target")
-
-parser = create_dump_module_line_tables_options()
-dump_module_line_tables.__doc__ = parser.format_help()
-lldb.debugger.HandleCommand(
- 'command script add -f %s.dump_module_line_tables dump_module_line_tables' %
- __name__)
-print 'Installed "dump_module_line_tables" command'
+ result.PutCString(' %#x: END' %
+ (start_file_addr))
+ else:
+ result.PutCString(
+ ' %#x: %s' %
+ (start_file_addr, line_entry))
+ if start_file_addr == end_file_addr:
+ result.PutCString("\n")
+
+
+class DumpFiles:
+ command_name = "dump-files"
+ short_description = "Dumps full paths to compile unit files and optionally all line table files."
+ usage = "usage: %prog [options] MODULE1 [MODULE2 ...]"
+ description = '''This class adds a dump-files command to the LLDB interpreter.
+
+This command will dump all compile unit file paths found for each source file
+for the binaries specified as arguments in the current target. Specify the
+--support-files or -s option to see all file paths that a compile unit uses in
+its lines tables. This is handy for troubleshooting why breakpoints aren't
+working in IDEs that specify full paths to source files when setting file and
+line breakpoints. Sometimes symlinks cause the debug info to contain the symlink
+path and an IDE will resolve the path to the actual file and use the resolved
+path when setting breakpoints.
+'''
+ def create_options(self):
+ # Pass add_help_option = False, since this keeps the command in line with lldb commands,
+ # and we wire up "help command" to work by providing the long & short help methods below.
+ self.parser = optparse.OptionParser(
+ description = self.description,
+ prog = self.command_name,
+ usage = self.usage,
+ add_help_option = False)
+
+ self.parser.add_option(
+ '-s',
+ '--support-files',
+ action = 'store_true',
+ dest = 'support_files',
+ help = 'Dumps full paths to all files used in a compile unit.',
+ default = False)
+
+ def get_short_help(self):
+ return self.short_description
+
+ def get_long_help(self):
+ return self.help_string
+
+ def __init__(self, debugger, unused):
+ self.create_options()
+ self.help_string = self.parser.format_help()
+
+ def __call__(self, debugger, command, exe_ctx, result):
+ # Use the Shell Lexer to properly parse up command options just like a
+ # shell would
+ command_args = shlex.split(command)
+
+ try:
+ (options, args) = self.parser.parse_args(command_args)
+ except:
+ # if you don't handle exceptions, passing an incorrect argument to the OptionParser will cause LLDB to exit
+ # (courtesy of OptParse dealing with argument errors by throwing SystemExit)
+ result.SetError("option parsing failed")
+ return
+
+ # Always get program state from the SBExecutionContext passed in as exe_ctx
+ target = exe_ctx.GetTarget()
+ if not target.IsValid():
+ result.SetError("invalid target")
+ return
+
+ if len(args) == 0:
+ result.SetError("one or more executable paths must be specified")
+ return
+
+ for module_path in args:
+ module = target.module[module_path]
+ if not module:
+ result.SetError('no module found that matches "%s".' % (module_path))
+ return
+ num_cus = module.GetNumCompileUnits()
+ print >>result, 'Module: "%s"' % (module.file.fullpath),
+ if num_cus == 0:
+ print >>result, 'no debug info.'
+ continue
+ print >>result, 'has %u compile units:' % (num_cus)
+ for i in range(num_cus):
+ cu = module.GetCompileUnitAtIndex(i)
+ print >>result, ' Compile Unit: %s' % (cu.file.fullpath)
+ if options.support_files:
+ num_support_files = cu.GetNumSupportFiles()
+ for j in range(num_support_files):
+ path = cu.GetSupportFileAtIndex(j).fullpath
+ print >>result, ' file[%u]: %s' % (j, path)
+
+
+def __lldb_init_module(debugger, dict):
+ # This initializer is being run from LLDB in the embedded command interpreter
+
+ # Add any commands contained in this module to LLDB
+ debugger.HandleCommand(
+ 'command script add -c %s.DumpLineTables %s' % (__name__,
+ DumpLineTables.command_name))
+ debugger.HandleCommand(
+ 'command script add -c %s.DumpFiles %s' % (__name__, DumpFiles.command_name))
+ print 'The "%s" and "%s" commands have been installed.' % (DumpLineTables.command_name,
+ DumpFiles.command_name)
diff --git a/examples/python/step_and_print.py b/examples/python/step_and_print.py
new file mode 100644
index 000000000000..41364ef97ba8
--- /dev/null
+++ b/examples/python/step_and_print.py
@@ -0,0 +1,24 @@
+""" Does a step-over then prints the local variables or only the ones passed in """
+import lldb
+
+class StepAndPrint:
+ def __init__(self, debugger, unused):
+ return
+
+ def __call__(self, debugger, command, exe_ctx, result):
+ # Set the command to synchronous so the step will complete
+ # before we try to run the frame variable.
+ old_async = debugger.GetAsync()
+ debugger.SetAsync(False)
+
+ debugger.HandleCommand("thread step-over")
+ print("---------- Values: -------------------\n")
+ debugger.HandleCommand("frame variable %s"%(command))
+
+ debugger.SetAsync(old_async)
+
+ def get_short_help(self):
+ return "Does a step-over then runs frame variable passing the command args to it\n"
+
+def __lldb_init_module(debugger, unused):
+ debugger.HandleCommand("command script add -c step_and_print.StepAndPrint sap")
diff --git a/examples/synthetic/libcxx.py b/examples/synthetic/libcxx.py
index e6f8223e2dad..97593725a246 100644
--- a/examples/synthetic/libcxx.py
+++ b/examples/synthetic/libcxx.py
@@ -693,6 +693,13 @@ class stddeque_SynthProvider:
except:
return None
+ def _get_value_of_compressed_pair(self, pair):
+ value = pair.GetChildMemberWithName("__value_")
+ if not value.IsValid():
+ # pre-r300140 member name
+ value = pair.GetChildMemberWithName("__first_")
+ return value.GetValueAsUnsigned(0)
+
def update(self):
logger = lldb.formatters.Logger.Logger()
try:
@@ -709,8 +716,8 @@ class stddeque_SynthProvider:
# variable tells which element in this NxM array is the 0th
# one, and the 'size' element gives the number of elements
# in the deque.
- count = self.valobj.GetChildMemberWithName(
- '__size_').GetChildMemberWithName('__first_').GetValueAsUnsigned(0)
+ count = self._get_value_of_compressed_pair(
+ self.valobj.GetChildMemberWithName('__size_'))
# give up now if we cant access memory reliably
if self.block_size < 0:
logger.write("block_size < 0")
@@ -724,8 +731,8 @@ class stddeque_SynthProvider:
'__begin_').GetValueAsUnsigned(0)
map_end = map_.GetChildMemberWithName(
'__end_').GetValueAsUnsigned(0)
- map_endcap = map_.GetChildMemberWithName(
- '__end_cap_').GetChildMemberWithName('__first_').GetValueAsUnsigned(0)
+ map_endcap = self._get_value_of_compressed_pair(
+ map_.GetChildMemberWithName( '__end_cap_'))
# check consistency
if not map_first <= map_begin <= map_end <= map_endcap:
logger.write("map pointers are not monotonic")
diff --git a/include/lldb/API/LLDB.h b/include/lldb/API/LLDB.h
index cf61b10184d6..c51ced893d7a 100644
--- a/include/lldb/API/LLDB.h
+++ b/include/lldb/API/LLDB.h
@@ -18,6 +18,7 @@
#include "lldb/API/SBAttachInfo.h"
#include "lldb/API/SBBlock.h"
#include "lldb/API/SBBreakpoint.h"
+#include "lldb/API/SBBreakpointName.h"
#include "lldb/API/SBBreakpointLocation.h"
#include "lldb/API/SBBroadcaster.h"
#include "lldb/API/SBCommandInterpreter.h"
@@ -49,6 +50,7 @@
#include "lldb/API/SBModuleSpec.h"
#include "lldb/API/SBPlatform.h"
#include "lldb/API/SBProcess.h"
+#include "lldb/API/SBProcessInfo.h"
#include "lldb/API/SBQueue.h"
#include "lldb/API/SBQueueItem.h"
#include "lldb/API/SBSection.h"
diff --git a/include/lldb/API/SBBreakpoint.h b/include/lldb/API/SBBreakpoint.h
index 9abc9cd39dcb..216d675b9d22 100644
--- a/include/lldb/API/SBBreakpoint.h
+++ b/include/lldb/API/SBBreakpoint.h
@@ -18,9 +18,6 @@ namespace lldb {
class LLDB_API SBBreakpoint {
public:
- typedef bool (*BreakpointHitCallback)(void *baton, SBProcess &process,
- SBThread &thread,
- lldb::SBBreakpointLocation &location);
SBBreakpoint();
@@ -70,6 +67,10 @@ public:
const char *GetCondition();
+ void SetAutoContinue(bool auto_continue);
+
+ bool GetAutoContinue();
+
void SetThreadID(lldb::tid_t sb_thread_id);
lldb::tid_t GetThreadID();
@@ -86,7 +87,7 @@ public:
const char *GetQueueName() const;
- void SetCallback(BreakpointHitCallback callback, void *baton);
+ void SetCallback(SBBreakpointHitCallback callback, void *baton);
void SetScriptCallbackFunction(const char *callback_function_name);
@@ -129,14 +130,11 @@ public:
private:
friend class SBBreakpointList;
friend class SBBreakpointLocation;
+ friend class SBBreakpointName;
friend class SBTarget;
SBBreakpoint(const lldb::BreakpointSP &bp_sp);
- static bool PrivateBreakpointHitCallback(
- void *baton, lldb_private::StoppointCallbackContext *context,
- lldb::user_id_t break_id, lldb::user_id_t break_loc_id);
-
lldb::BreakpointSP GetSP() const;
lldb::BreakpointWP m_opaque_wp;
diff --git a/include/lldb/API/SBBreakpointLocation.h b/include/lldb/API/SBBreakpointLocation.h
index 0b5ba79d784f..4b34bcbf1f28 100644
--- a/include/lldb/API/SBBreakpointLocation.h
+++ b/include/lldb/API/SBBreakpointLocation.h
@@ -38,6 +38,8 @@ public:
bool IsEnabled();
+ uint32_t GetHitCount();
+
uint32_t GetIgnoreCount();
void SetIgnoreCount(uint32_t n);
@@ -45,11 +47,19 @@ public:
void SetCondition(const char *condition);
const char *GetCondition();
+
+ void SetAutoContinue(bool auto_continue);
+
+ bool GetAutoContinue();
void SetScriptCallbackFunction(const char *callback_function_name);
SBError SetScriptCallbackBody(const char *script_body_text);
+
+ void SetCommandLineCommands(SBStringList &commands);
+ bool GetCommandLineCommands(SBStringList &commands);
+
void SetThreadID(lldb::tid_t sb_thread_id);
lldb::tid_t GetThreadID();
@@ -76,6 +86,7 @@ public:
private:
friend class SBBreakpoint;
+ friend class SBBreakpointCallbackBaton;
void SetLocation(const lldb::BreakpointLocationSP &break_loc_sp);
BreakpointLocationSP GetSP() const;
diff --git a/include/lldb/API/SBBreakpointName.h b/include/lldb/API/SBBreakpointName.h
new file mode 100644
index 000000000000..321f0d784d6f
--- /dev/null
+++ b/include/lldb/API/SBBreakpointName.h
@@ -0,0 +1,118 @@
+//===-- SBBreakpointName.h ------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SBBreakpointName_h_
+#define LLDB_SBBreakpointName_h_
+
+#include "lldb/API/SBDefines.h"
+
+class SBBreakpointNameImpl;
+
+namespace lldb {
+
+class LLDB_API SBBreakpointName {
+public:
+// typedef bool (*BreakpointHitCallback)(void *baton, SBProcess &process,
+// SBThread &thread,
+// lldb::SBBreakpointLocation &location);
+
+ SBBreakpointName();
+
+ SBBreakpointName(SBTarget &target, const char *name);
+
+ SBBreakpointName(SBBreakpoint &bkpt, const char *name);
+
+ SBBreakpointName(const lldb::SBBreakpointName &rhs);
+
+ ~SBBreakpointName();
+
+ const lldb::SBBreakpointName &operator=(const lldb::SBBreakpointName &rhs);
+
+ // Tests to see if the opaque breakpoint object in this object matches the
+ // opaque breakpoint object in "rhs".
+ bool operator==(const lldb::SBBreakpointName &rhs);
+
+ bool operator!=(const lldb::SBBreakpointName &rhs);
+
+ bool IsValid() const;
+
+ const char *GetName() const;
+
+ void SetEnabled(bool enable);
+
+ bool IsEnabled();
+
+ void SetOneShot(bool one_shot);
+
+ bool IsOneShot() const;
+
+ void SetIgnoreCount(uint32_t count);
+
+ uint32_t GetIgnoreCount() const;
+
+ void SetCondition(const char *condition);
+
+ const char *GetCondition();
+
+ void SetAutoContinue(bool auto_continue);
+
+ bool GetAutoContinue();
+
+ void SetThreadID(lldb::tid_t sb_thread_id);
+
+ lldb::tid_t GetThreadID();
+
+ void SetThreadIndex(uint32_t index);
+
+ uint32_t GetThreadIndex() const;
+
+ void SetThreadName(const char *thread_name);
+
+ const char *GetThreadName() const;
+
+ void SetQueueName(const char *queue_name);
+
+ const char *GetQueueName() const;
+
+ void SetCallback(SBBreakpointHitCallback callback, void *baton);
+
+ void SetScriptCallbackFunction(const char *callback_function_name);
+
+ void SetCommandLineCommands(SBStringList &commands);
+
+ bool GetCommandLineCommands(SBStringList &commands);
+
+ SBError SetScriptCallbackBody(const char *script_body_text);
+
+ const char *GetHelpString() const;
+ void SetHelpString(const char *help_string);
+
+ bool GetAllowList() const;
+ void SetAllowList(bool value);
+
+ bool GetAllowDelete();
+ void SetAllowDelete(bool value);
+
+ bool GetAllowDisable();
+ void SetAllowDisable(bool value);
+
+ bool GetDescription(lldb::SBStream &description);
+
+private:
+ friend class SBTarget;
+
+ lldb_private::BreakpointName *GetBreakpointName() const;
+ void UpdateName(lldb_private::BreakpointName &bp_name);
+
+ std::unique_ptr<SBBreakpointNameImpl> m_impl_up;
+};
+
+} // namespace lldb
+
+#endif // LLDB_SBBreakpointName_h_
diff --git a/include/lldb/API/SBCommandInterpreter.h b/include/lldb/API/SBCommandInterpreter.h
index f684071740e3..80f24ceca7b4 100644
--- a/include/lldb/API/SBCommandInterpreter.h
+++ b/include/lldb/API/SBCommandInterpreter.h
@@ -165,6 +165,8 @@ public:
int match_start_point, int max_return_elements,
lldb::SBStringList &matches);
+ bool WasInterrupted() const;
+
// Catch commands before they execute by registering a callback that will
// get called when the command gets executed. This allows GUI or command
// line interfaces to intercept a command and stop it from happening
diff --git a/include/lldb/API/SBDebugger.h b/include/lldb/API/SBDebugger.h
index 9084943b9131..8379a6911afc 100644
--- a/include/lldb/API/SBDebugger.h
+++ b/include/lldb/API/SBDebugger.h
@@ -109,6 +109,8 @@ public:
const char *archname);
lldb::SBTarget CreateTarget(const char *filename);
+
+ lldb::SBTarget GetDummyTarget();
// Return true if target is deleted from the target list of the debugger.
bool DeleteTarget(lldb::SBTarget &target);
@@ -132,6 +134,25 @@ public:
void SetSelectedPlatform(lldb::SBPlatform &platform);
+ /// Get the number of currently active platforms.
+ uint32_t GetNumPlatforms();
+
+ /// Get one of the currently active platforms.
+ lldb::SBPlatform GetPlatformAtIndex(uint32_t idx);
+
+ /// Get the number of available platforms.
+ ///
+ /// The return value should match the number of entries output by the
+ /// "platform list" command.
+ uint32_t GetNumAvailablePlatforms();
+
+ /// Get the name and description of one of the available platforms.
+ ///
+ /// @param[in] idx
+ /// Zero-based index of the platform for which info should be retrieved,
+ /// must be less than the value returned by GetNumAvailablePlatforms().
+ lldb::SBStructuredData GetAvailablePlatformInfoAtIndex(uint32_t idx);
+
lldb::SBSourceManager GetSourceManager();
// REMOVE: just for a quick fix, need to expose platforms through
diff --git a/include/lldb/API/SBDefines.h b/include/lldb/API/SBDefines.h
index d70e912d9200..ec92c9196737 100644
--- a/include/lldb/API/SBDefines.h
+++ b/include/lldb/API/SBDefines.h
@@ -32,6 +32,8 @@ class LLDB_API SBAddress;
class LLDB_API SBBlock;
class LLDB_API SBBreakpoint;
class LLDB_API SBBreakpointLocation;
+class LLDB_API SBBreakpointName;
+class LLDB_API SBBreakpointNameImpl;
class LLDB_API SBBroadcaster;
class LLDB_API SBCommand;
class LLDB_API SBCommandInterpreter;
@@ -65,6 +67,7 @@ class LLDB_API SBModule;
class LLDB_API SBModuleSpec;
class LLDB_API SBModuleSpecList;
class LLDB_API SBProcess;
+class LLDB_API SBProcessInfo;
class LLDB_API SBQueue;
class LLDB_API SBQueueItem;
class LLDB_API SBSection;
@@ -98,6 +101,10 @@ class LLDB_API SBValueList;
class LLDB_API SBVariablesOptions;
class LLDB_API SBWatchpoint;
class LLDB_API SBUnixSignals;
+
+typedef bool (*SBBreakpointHitCallback)(void *baton, SBProcess &process,
+ SBThread &thread,
+ lldb::SBBreakpointLocation &location);
}
#endif // LLDB_SBDefines_h_
diff --git a/include/lldb/API/SBError.h b/include/lldb/API/SBError.h
index a099a9be271a..a27d2d042690 100644
--- a/include/lldb/API/SBError.h
+++ b/include/lldb/API/SBError.h
@@ -67,6 +67,7 @@ protected:
friend class SBWatchpoint;
friend class SBBreakpoint;
friend class SBBreakpointLocation;
+ friend class SBBreakpointName;
lldb_private::Status *get();
diff --git a/include/lldb/API/SBFileSpec.h b/include/lldb/API/SBFileSpec.h
index a31d95abb493..33e48f5c7c41 100644
--- a/include/lldb/API/SBFileSpec.h
+++ b/include/lldb/API/SBFileSpec.h
@@ -65,6 +65,7 @@ private:
friend class SBModuleSpec;
friend class SBPlatform;
friend class SBProcess;
+ friend class SBProcessInfo;
friend class SBSourceManager;
friend class SBThread;
friend class SBTarget;
diff --git a/include/lldb/API/SBProcess.h b/include/lldb/API/SBProcess.h
index d57d5ce04f59..2e8925941fb7 100644
--- a/include/lldb/API/SBProcess.h
+++ b/include/lldb/API/SBProcess.h
@@ -12,6 +12,7 @@
#include "lldb/API/SBDefines.h"
#include "lldb/API/SBError.h"
+#include "lldb/API/SBProcessInfo.h"
#include "lldb/API/SBQueue.h"
#include "lldb/API/SBTarget.h"
#include <stdio.h>
@@ -380,6 +381,15 @@ public:
//------------------------------------------------------------------
lldb::SBMemoryRegionInfoList GetMemoryRegions();
+ //------------------------------------------------------------------
+ /// Return information about the process.
+ ///
+ /// Valid process info will only be returned when the process is
+ /// alive, use SBProcessInfo::IsValid() to check returned info is
+ /// valid.
+ //------------------------------------------------------------------
+ lldb::SBProcessInfo GetProcessInfo();
+
protected:
friend class SBAddress;
friend class SBBreakpoint;
diff --git a/include/lldb/API/SBProcessInfo.h b/include/lldb/API/SBProcessInfo.h
new file mode 100644
index 000000000000..421227f82c2d
--- /dev/null
+++ b/include/lldb/API/SBProcessInfo.h
@@ -0,0 +1,64 @@
+//===-- SBProcessInfo.h -----------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_SBProcessInfo_h_
+#define LLDB_SBProcessInfo_h_
+
+#include "lldb/API/SBDefines.h"
+
+namespace lldb {
+
+class LLDB_API SBProcessInfo {
+public:
+ SBProcessInfo();
+ SBProcessInfo(const SBProcessInfo &rhs);
+
+ ~SBProcessInfo();
+
+ SBProcessInfo &operator=(const SBProcessInfo &rhs);
+
+ bool IsValid() const;
+
+ const char *GetName();
+
+ SBFileSpec GetExecutableFile();
+
+ lldb::pid_t GetProcessID();
+
+ uint32_t GetUserID();
+
+ uint32_t GetGroupID();
+
+ bool UserIDIsValid();
+
+ bool GroupIDIsValid();
+
+ uint32_t GetEffectiveUserID();
+
+ uint32_t GetEffectiveGroupID();
+
+ bool EffectiveUserIDIsValid();
+
+ bool EffectiveGroupIDIsValid();
+
+ lldb::pid_t GetParentProcessID();
+
+private:
+ friend class SBProcess;
+
+ lldb_private::ProcessInstanceInfo &ref();
+
+ void SetProcessInfo(const lldb_private::ProcessInstanceInfo &proc_info_ref);
+
+ std::unique_ptr<lldb_private::ProcessInstanceInfo> m_opaque_ap;
+};
+
+} // namespace lldb
+
+#endif // LLDB_SBProcessInfo_h_
diff --git a/include/lldb/API/SBStream.h b/include/lldb/API/SBStream.h
index 68fcae21c08e..a75afc7ee375 100644
--- a/include/lldb/API/SBStream.h
+++ b/include/lldb/API/SBStream.h
@@ -53,6 +53,7 @@ protected:
friend class SBBlock;
friend class SBBreakpoint;
friend class SBBreakpointLocation;
+ friend class SBBreakpointName;
friend class SBCommandReturnObject;
friend class SBCompileUnit;
friend class SBData;
diff --git a/include/lldb/API/SBStringList.h b/include/lldb/API/SBStringList.h
index 66b5172a0b3e..943384e544cd 100644
--- a/include/lldb/API/SBStringList.h
+++ b/include/lldb/API/SBStringList.h
@@ -44,6 +44,8 @@ protected:
friend class SBCommandInterpreter;
friend class SBDebugger;
friend class SBBreakpoint;
+ friend class SBBreakpointLocation;
+ friend class SBBreakpointName;
SBStringList(const lldb_private::StringList *lldb_strings);
diff --git a/include/lldb/API/SBStructuredData.h b/include/lldb/API/SBStructuredData.h
index f7a6469bb8de..f3baaf7c4801 100644
--- a/include/lldb/API/SBStructuredData.h
+++ b/include/lldb/API/SBStructuredData.h
@@ -98,6 +98,7 @@ public:
protected:
friend class SBTraceOptions;
+ friend class SBDebugger;
StructuredDataImplUP m_impl_up;
};
diff --git a/include/lldb/API/SBTarget.h b/include/lldb/API/SBTarget.h
index 62398fcd4b94..4085a16b43fb 100644
--- a/include/lldb/API/SBTarget.h
+++ b/include/lldb/API/SBTarget.h
@@ -218,14 +218,6 @@ public:
lldb::SBProcess AttachToProcessWithID(SBListener &listener, lldb::pid_t pid,
lldb::SBError &error);
-#if defined(__APPLE__)
- // We need to keep this around for a build or two since Xcode links
- // to the 32 bit version of this function. We will take it out soon.
- lldb::SBProcess AttachToProcessWithID(SBListener &listener,
- ::pid_t pid, // 32 bit int process ID
- lldb::SBError &error); // DEPRECATED
-#endif
-
//------------------------------------------------------------------
/// Attach to process with name.
///
@@ -724,6 +716,10 @@ public:
// Finds all breakpoints by name, returning the list in bkpt_list. Returns
// false if the name is not a valid breakpoint name, true otherwise.
bool FindBreakpointsByName(const char *name, SBBreakpointList &bkpt_list);
+
+ void GetBreakpointNames(SBStringList &names);
+
+ void DeleteBreakpointName(const char *name);
bool EnableAllBreakpoints();
@@ -818,6 +814,7 @@ protected:
friend class SBAddress;
friend class SBBlock;
friend class SBBreakpointList;
+ friend class SBBreakpointNameImpl;
friend class SBDebugger;
friend class SBExecutionContext;
friend class SBFunction;
diff --git a/include/lldb/API/SBThread.h b/include/lldb/API/SBThread.h
index 502e5c973ef5..7f1cf10cc456 100644
--- a/include/lldb/API/SBThread.h
+++ b/include/lldb/API/SBThread.h
@@ -196,6 +196,7 @@ public:
protected:
friend class SBBreakpoint;
friend class SBBreakpointLocation;
+ friend class SBBreakpointCallbackBaton;
friend class SBExecutionContext;
friend class SBFrame;
friend class SBProcess;
diff --git a/include/lldb/Breakpoint/Breakpoint.h b/include/lldb/Breakpoint/Breakpoint.h
index 41241334dcf9..9a798090a59f 100644
--- a/include/lldb/Breakpoint/Breakpoint.h
+++ b/include/lldb/Breakpoint/Breakpoint.h
@@ -22,6 +22,7 @@
#include "lldb/Breakpoint/BreakpointID.h"
#include "lldb/Breakpoint/BreakpointLocationCollection.h"
#include "lldb/Breakpoint/BreakpointLocationList.h"
+#include "lldb/Breakpoint/BreakpointName.h"
#include "lldb/Breakpoint/BreakpointOptions.h"
#include "lldb/Breakpoint/Stoppoint.h"
#include "lldb/Core/Event.h"
@@ -421,6 +422,18 @@ public:
bool IsOneShot() const;
//------------------------------------------------------------------
+ /// If \a auto_continue is \b true, breakpoint will auto-continue when on hit.
+ //------------------------------------------------------------------
+ void SetAutoContinue(bool auto_continue);
+
+ //------------------------------------------------------------------
+ /// Check the AutoContinue state.
+ /// @return
+ /// \b true if the breakpoint is set to auto-continue, \b false otherwise.
+ //------------------------------------------------------------------
+ bool IsAutoContinue() const;
+
+ //------------------------------------------------------------------
/// Set the valid thread to be checked when the breakpoint is hit.
/// @param[in] thread_id
/// If this thread hits the breakpoint, we stop, otherwise not.
@@ -591,6 +604,16 @@ public:
BreakpointOptions *GetOptions();
//------------------------------------------------------------------
+ /// Returns the BreakpointOptions structure set at the breakpoint level.
+ ///
+ /// Meant to be used by the BreakpointLocation class.
+ ///
+ /// @return
+ /// A pointer to this breakpoint's BreakpointOptions.
+ //------------------------------------------------------------------
+ const BreakpointOptions *GetOptions() const;
+
+ //------------------------------------------------------------------
/// Invoke the callback action when the breakpoint is hit.
///
/// Meant to be used by the BreakpointLocation class.
@@ -613,13 +636,16 @@ public:
lldb::SearchFilterSP GetSearchFilter() { return m_filter_sp; }
- bool AddName(llvm::StringRef new_name, Status &error);
+private: // The target needs to manage adding & removing names. It will do the
+ // checking for name validity as well.
+ bool AddName(llvm::StringRef new_name);
void RemoveName(const char *name_to_remove) {
if (name_to_remove)
m_name_list.erase(name_to_remove);
}
-
+
+public:
bool MatchesName(const char *name) {
return m_name_list.find(name) != m_name_list.end();
}
@@ -651,6 +677,25 @@ public:
bool EvaluatePrecondition(StoppointCallbackContext &context);
BreakpointPreconditionSP GetPrecondition() { return m_precondition_sp; }
+
+ // Produces the OR'ed values for all the names assigned to this breakpoint.
+ const BreakpointName::Permissions &GetPermissions() const {
+ return m_permissions;
+ }
+
+ BreakpointName::Permissions &GetPermissions() {
+ return m_permissions;
+ }
+
+ bool AllowList() const {
+ return GetPermissions().GetAllowList();
+ }
+ bool AllowDisable() const {
+ return GetPermissions().GetAllowDisable();
+ }
+ bool AllowDelete() const {
+ return GetPermissions().GetAllowDelete();
+ }
protected:
friend class Target;
@@ -750,6 +795,7 @@ private:
// hit. This is kept
// separately from the locations hit counts, since locations can go away when
// their backing library gets unloaded, and we would lose hit counts.
+ BreakpointName::Permissions m_permissions;
void SendBreakpointChangedEvent(lldb::BreakpointEventType eventKind);
diff --git a/include/lldb/Breakpoint/BreakpointIDList.h b/include/lldb/Breakpoint/BreakpointIDList.h
index 34cfbfe3268d..5877b6c551ad 100644
--- a/include/lldb/Breakpoint/BreakpointIDList.h
+++ b/include/lldb/Breakpoint/BreakpointIDList.h
@@ -18,7 +18,9 @@
// Other libraries and framework includes
// Project includes
+#include "lldb/lldb-enumerations.h"
#include "lldb/Breakpoint/BreakpointID.h"
+#include "lldb/Breakpoint/BreakpointName.h"
#include "lldb/lldb-private.h"
namespace lldb_private {
@@ -64,6 +66,8 @@ public:
static void FindAndReplaceIDRanges(Args &old_args, Target *target,
bool allow_locations,
+ BreakpointName::Permissions
+ ::PermissionKinds purpose,
CommandReturnObject &result,
Args &new_args);
diff --git a/include/lldb/Breakpoint/BreakpointList.h b/include/lldb/Breakpoint/BreakpointList.h
index 2865288acc59..9f38f8aa120d 100644
--- a/include/lldb/Breakpoint/BreakpointList.h
+++ b/include/lldb/Breakpoint/BreakpointList.h
@@ -154,12 +154,21 @@ public:
void SetEnabledAll(bool enabled);
+ void SetEnabledAllowed(bool enabled);
+
//------------------------------------------------------------------
/// Removes all the breakpoints from this list.
//------------------------------------------------------------------
void RemoveAll(bool notify);
//------------------------------------------------------------------
+ /// Removes all the breakpoints from this list - first checking the
+ /// ePermDelete on the breakpoints. This call should be used unless you
+ /// are shutting down and need to actually clear them all.
+ //------------------------------------------------------------------
+ void RemoveAllowed(bool notify);
+
+ //------------------------------------------------------------------
/// Tell all the breakpoints to update themselves due to a change in the
/// modules in \a module_list. \a added says whether the module was loaded
/// or unloaded.
diff --git a/include/lldb/Breakpoint/BreakpointLocation.h b/include/lldb/Breakpoint/BreakpointLocation.h
index a1086aa3fe5f..b68a9ffad04c 100644
--- a/include/lldb/Breakpoint/BreakpointLocation.h
+++ b/include/lldb/Breakpoint/BreakpointLocation.h
@@ -17,6 +17,7 @@
// Other libraries and framework includes
// Project includes
+#include "lldb/Breakpoint/BreakpointOptions.h"
#include "lldb/Breakpoint/StoppointLocation.h"
#include "lldb/Core/Address.h"
#include "lldb/Utility/UserID.h"
@@ -106,6 +107,19 @@ public:
bool IsEnabled() const;
//------------------------------------------------------------------
+ /// If \a auto_continue is \b true, set the breakpoint to continue when hit.
+ //------------------------------------------------------------------
+ void SetAutoContinue(bool auto_continue);
+
+ //------------------------------------------------------------------
+ /// Check the AutoContinue state.
+ ///
+ /// @return
+ /// \b true if the breakpoint is set to auto-continue, \b false if not.
+ //------------------------------------------------------------------
+ bool IsAutoContinue() const;
+
+ //------------------------------------------------------------------
/// Return the current Ignore Count.
///
/// @return
@@ -255,14 +269,17 @@ public:
//------------------------------------------------------------------
/// Use this to access breakpoint options from this breakpoint location.
- /// This will point to the owning breakpoint's options unless options have
- /// been set specifically on this location.
+ /// This will return the options that have a setting for the specified
+ /// BreakpointOptions kind.
///
+ /// @param[in] kind
+ /// The particular option you are looking up.
/// @return
/// A pointer to the containing breakpoint's options if this
/// location doesn't have its own copy.
//------------------------------------------------------------------
- const BreakpointOptions *GetOptionsNoCreate() const;
+ const BreakpointOptions *GetOptionsSpecifyingKind(
+ BreakpointOptions::OptionKind kind) const;
bool ValidForThisThread(Thread *thread);
diff --git a/include/lldb/Breakpoint/BreakpointName.h b/include/lldb/Breakpoint/BreakpointName.h
new file mode 100644
index 000000000000..1cfa141011a0
--- /dev/null
+++ b/include/lldb/Breakpoint/BreakpointName.h
@@ -0,0 +1,213 @@
+//===-- BreakpointName.h --------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef liblldb_Breakpoint_Name_h_
+#define liblldb_Breakpoint_Name_h_
+
+// C Includes
+// C++ Includes
+#include <memory>
+#include <string>
+#include <unordered_set>
+#include <vector>
+
+// Other libraries and framework includes
+// Project includes
+#include "lldb/Breakpoint/BreakpointID.h"
+#include "lldb/Breakpoint/BreakpointLocationCollection.h"
+#include "lldb/Breakpoint/BreakpointLocationList.h"
+#include "lldb/Breakpoint/BreakpointOptions.h"
+#include "lldb/Breakpoint/Stoppoint.h"
+#include "lldb/Core/Event.h"
+#include "lldb/Core/SearchFilter.h"
+#include "lldb/Utility/Flags.h"
+#include "lldb/Utility/StringList.h"
+#include "lldb/Utility/StructuredData.h"
+
+namespace lldb_private {
+
+class BreakpointName {
+public:
+ class Permissions
+ {
+ public:
+
+ enum PermissionKinds { listPerm = 0, disablePerm = 1,
+ deletePerm = 2, allPerms = 3 };
+
+ Permissions(bool in_list, bool in_disable, bool in_delete)
+ {
+ m_permissions[listPerm] = in_list;
+ m_permissions[disablePerm] = in_disable;
+ m_permissions[deletePerm] = in_delete;
+ m_set_mask.Set(permissions_mask[allPerms]);
+ }
+
+ Permissions(const Permissions &rhs)
+ {
+ m_permissions[listPerm] = rhs.m_permissions[listPerm];
+ m_permissions[disablePerm] = rhs.m_permissions[disablePerm];
+ m_permissions[deletePerm] = rhs.m_permissions[deletePerm];
+ m_set_mask = rhs.m_set_mask;
+ }
+
+ Permissions()
+ {
+ m_permissions[listPerm] = true;
+ m_permissions[disablePerm] = true;
+ m_permissions[deletePerm] = true;
+ m_set_mask.Clear();
+ }
+
+ const Permissions &operator= (const Permissions &rhs)
+ {
+ if (this != &rhs) {
+ m_permissions[listPerm] = rhs.m_permissions[listPerm];
+ m_permissions[disablePerm] = rhs.m_permissions[disablePerm];
+ m_permissions[deletePerm] = rhs.m_permissions[deletePerm];
+ m_set_mask = rhs.m_set_mask;
+ }
+ return *this;
+ }
+
+ void Clear() {
+ *this = Permissions();
+ }
+
+ // Merge the permissions from incoming into this set of permissions.
+ // Only merge set permissions, and most restrictive permission wins.
+ void MergeInto(const Permissions &incoming)
+ {
+ MergePermission(incoming, listPerm);
+ MergePermission(incoming, disablePerm);
+ MergePermission(incoming, deletePerm);
+ }
+
+ bool GetAllowList() const { return GetPermission(listPerm); }
+ bool SetAllowList(bool value) { return SetPermission(listPerm, value); }
+
+ bool GetAllowDelete() const { return GetPermission(deletePerm); }
+ bool SetAllowDelete(bool value) { return SetPermission(deletePerm, value); }
+
+ bool GetAllowDisable() const { return GetPermission(disablePerm); }
+ bool SetAllowDisable(bool value) { return SetPermission(disablePerm,
+ value); }
+
+ bool GetPermission(enum PermissionKinds permission) const
+ {
+ return m_permissions[permission];
+ }
+
+ bool GetDescription(Stream *s, lldb::DescriptionLevel level);
+
+ bool IsSet(enum PermissionKinds permission) const
+ {
+ return m_set_mask.Test(permissions_mask[permission]);
+ }
+
+ bool AnySet() {
+ return m_set_mask.AnySet(permissions_mask[allPerms]);
+ }
+
+ private:
+ static const Flags::ValueType permissions_mask[allPerms + 1];
+
+ bool m_permissions[allPerms];
+ Flags m_set_mask;
+
+ bool SetPermission(enum PermissionKinds permission, bool value)
+ {
+ bool old_value = m_permissions[permission];
+ m_permissions[permission] = value;
+ m_set_mask.Set(permissions_mask[permission]);
+ return old_value;
+ }
+
+ // If either side disallows the permission, the resultant disallows it.
+ void MergePermission(const Permissions &incoming,
+ enum PermissionKinds permission)
+ {
+ if (incoming.IsSet(permission))
+ {
+ SetPermission(permission, !(m_permissions[permission] |
+ incoming.m_permissions[permission]));
+ }
+ }
+ };
+
+ BreakpointName(const ConstString &name, const char *help = nullptr) :
+ m_name(name), m_options(false)
+ {
+ SetHelp(help);
+ }
+
+ BreakpointName(const ConstString &name,
+ BreakpointOptions &options,
+ const Permissions &permissions = Permissions(),
+ const char *help = nullptr) :
+ m_name(name), m_options(options),
+ m_permissions(permissions) {
+ SetHelp(help);
+ };
+
+ BreakpointName(const BreakpointName &rhs) :
+ m_name(rhs.m_name), m_options(rhs.m_options),
+ m_permissions(rhs.m_permissions), m_help(rhs.m_help)
+ {}
+
+ BreakpointName(const ConstString &name, const Breakpoint &bkpt,
+ const char *help);
+
+ const ConstString &GetName() const { return m_name; }
+ BreakpointOptions &GetOptions() { return m_options; }
+ const BreakpointOptions &GetOptions() const { return m_options; }
+
+ void SetOptions(const BreakpointOptions &options) {
+ m_options = options;
+ }
+
+ Permissions &GetPermissions() { return m_permissions; }
+ const Permissions &GetPermissions() const { return m_permissions; }
+ void SetPermissions(const Permissions &permissions) {
+ m_permissions = permissions;
+ }
+
+ bool GetPermission(Permissions::PermissionKinds permission) const
+ {
+ return m_permissions.GetPermission(permission);
+ }
+
+ void SetHelp(const char *description)
+ {
+ if (description)
+ m_help.assign(description);
+ else
+ m_help.clear();
+ }
+
+ const char *GetHelp()
+ {
+ return m_help.c_str();
+ }
+
+ // Returns true if any options were set in the name
+ bool GetDescription(Stream *s, lldb::DescriptionLevel level);
+
+ void ConfigureBreakpoint(lldb::BreakpointSP bp_sp);
+
+private:
+ ConstString m_name;
+ BreakpointOptions m_options;
+ Permissions m_permissions;
+ std::string m_help;
+};
+
+} // namespace lldb_private
+
+#endif // liblldb_Breakpoint_Name_h_
diff --git a/include/lldb/Breakpoint/BreakpointOptions.h b/include/lldb/Breakpoint/BreakpointOptions.h
index 420d5915fd44..0229d52df471 100644
--- a/include/lldb/Breakpoint/BreakpointOptions.h
+++ b/include/lldb/Breakpoint/BreakpointOptions.h
@@ -18,6 +18,7 @@
// Other libraries and framework includes
// Project includes
#include "lldb/Utility/Baton.h"
+#include "lldb/Utility/Flags.h"
#include "lldb/Utility/StringList.h"
#include "lldb/Utility/StructuredData.h"
#include "lldb/lldb-private.h"
@@ -32,7 +33,23 @@ namespace lldb_private {
//----------------------------------------------------------------------
class BreakpointOptions {
+friend class BreakpointLocation;
+friend class BreakpointName;
+friend class lldb_private::BreakpointOptionGroup;
+friend class Breakpoint;
+
public:
+ enum OptionKind {
+ eCallback = 1 << 0,
+ eEnabled = 1 << 1,
+ eOneShot = 1 << 2,
+ eIgnoreCount = 1 << 3,
+ eThreadSpec = 1 << 4,
+ eCondition = 1 << 5,
+ eAutoContinue = 1 << 6,
+ eAllOptions = (eCallback | eEnabled | eOneShot | eIgnoreCount | eThreadSpec
+ | eCondition | eAutoContinue)
+ };
struct CommandData {
CommandData()
: user_source(), script_source(),
@@ -87,14 +104,6 @@ public:
//------------------------------------------------------------------
// Constructors and Destructors
//------------------------------------------------------------------
- //------------------------------------------------------------------
- /// Default constructor. The breakpoint is enabled, and has no condition,
- /// callback, ignore count, etc...
- //------------------------------------------------------------------
- BreakpointOptions();
- BreakpointOptions(const BreakpointOptions &rhs);
-
- static BreakpointOptions *CopyOptionsNoCallback(BreakpointOptions &rhs);
//------------------------------------------------------------------
/// This constructor allows you to specify all the breakpoint options
@@ -112,7 +121,15 @@ public:
///
//------------------------------------------------------------------
BreakpointOptions(const char *condition, bool enabled = true,
- int32_t ignore = 0, bool one_shot = false);
+ int32_t ignore = 0, bool one_shot = false,
+ bool auto_continue = false);
+
+ //------------------------------------------------------------------
+ /// Breakpoints make options with all flags set. Locations and Names make options
+ /// with no flags set.
+ //------------------------------------------------------------------
+ BreakpointOptions(bool all_flags_set);
+ BreakpointOptions(const BreakpointOptions &rhs);
virtual ~BreakpointOptions();
@@ -129,6 +146,11 @@ public:
// Operators
//------------------------------------------------------------------
const BreakpointOptions &operator=(const BreakpointOptions &rhs);
+
+ //------------------------------------------------------------------
+ /// Copy over only the options set in the incoming BreakpointOptions.
+ //------------------------------------------------------------------
+ void CopyOverSetOptions(const BreakpointOptions &rhs);
//------------------------------------------------------------------
// Callbacks
@@ -290,7 +312,25 @@ public:
//------------------------------------------------------------------
/// If \a enable is \b true, enable the breakpoint, if \b false disable it.
//------------------------------------------------------------------
- void SetEnabled(bool enabled) { m_enabled = enabled; }
+ void SetEnabled(bool enabled) {
+ m_enabled = enabled;
+ m_set_flags.Set(eEnabled);
+ }
+
+ //------------------------------------------------------------------
+ /// Check the auto-continue state.
+ /// @return
+ /// \b true if the breakpoint is set to auto-continue, \b false otherwise.
+ //------------------------------------------------------------------
+ bool IsAutoContinue() const { return m_auto_continue; }
+
+ //------------------------------------------------------------------
+ /// Set the auto-continue state.
+ //------------------------------------------------------------------
+ void SetAutoContinue(bool auto_continue) {
+ m_auto_continue = auto_continue;
+ m_set_flags.Set(eAutoContinue);
+ }
//------------------------------------------------------------------
/// Check the One-shot state.
@@ -302,7 +342,10 @@ public:
//------------------------------------------------------------------
/// If \a enable is \b true, enable the breakpoint, if \b false disable it.
//------------------------------------------------------------------
- void SetOneShot(bool one_shot) { m_one_shot = one_shot; }
+ void SetOneShot(bool one_shot) {
+ m_one_shot = one_shot;
+ m_set_flags.Set(eOneShot);
+ }
//------------------------------------------------------------------
/// Set the breakpoint to ignore the next \a count breakpoint hits.
@@ -310,7 +353,10 @@ public:
/// The number of breakpoint hits to ignore.
//------------------------------------------------------------------
- void SetIgnoreCount(uint32_t n) { m_ignore_count = n; }
+ void SetIgnoreCount(uint32_t n) {
+ m_ignore_count = n;
+ m_set_flags.Set(eIgnoreCount);
+ }
//------------------------------------------------------------------
/// Return the current Ignore Count.
@@ -360,16 +406,28 @@ public:
/// The breakpoint will take ownership of pointer held by this object.
//------------------------------------------------------------------
void SetCommandDataCallback(std::unique_ptr<CommandData> &cmd_data);
-
+
+ void Clear();
+
+ bool AnySet() const {
+ return m_set_flags.AnySet(eAllOptions);
+ }
+
protected:
- //------------------------------------------------------------------
+//------------------------------------------------------------------
// Classes that inherit from BreakpointOptions can see and modify these
//------------------------------------------------------------------
+ bool IsOptionSet(OptionKind kind)
+ {
+ return m_set_flags.Test(kind);
+ }
+
enum class OptionNames {
ConditionText = 0,
IgnoreCount,
EnabledState,
OneShotState,
+ AutoContinue,
LastOptionName
};
static const char *g_option_names[(size_t)OptionNames::LastOptionName];
@@ -400,6 +458,9 @@ private:
std::string m_condition_text; // The condition to test.
size_t m_condition_text_hash; // Its hash, so that locations know when the
// condition is updated.
+ bool m_auto_continue; // If set, auto-continue from breakpoint.
+ Flags m_set_flags; // Which options are set at this level. Drawn
+ // from BreakpointOptions::SetOptionsFlags.
};
} // namespace lldb_private
diff --git a/include/lldb/Core/Architecture.h b/include/lldb/Core/Architecture.h
new file mode 100644
index 000000000000..af774ecdaf9c
--- /dev/null
+++ b/include/lldb/Core/Architecture.h
@@ -0,0 +1,43 @@
+//===-- Architecture.h ------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_CORE_ARCHITECTURE_H
+#define LLDB_CORE_ARCHITECTURE_H
+
+#include "lldb/Core/PluginInterface.h"
+
+namespace lldb_private {
+
+class Architecture : public PluginInterface {
+public:
+ Architecture() = default;
+ virtual ~Architecture() = default;
+
+ //------------------------------------------------------------------
+ /// This is currently intended to handle cases where a
+ /// program stops at an instruction that won't get executed and it
+ /// allows the stop reason, like "breakpoint hit", to be replaced
+ /// with a different stop reason like "no stop reason".
+ ///
+ /// This is specifically used for ARM in Thumb code when we stop in
+ /// an IT instruction (if/then/else) where the instruction won't get
+ /// executed and therefore it wouldn't be correct to show the program
+ /// stopped at the current PC. The code is generic and applies to all
+ /// ARM CPUs.
+ //------------------------------------------------------------------
+ virtual void OverrideStopInfo(Thread &thread) = 0;
+
+private:
+ Architecture(const Architecture &) = delete;
+ void operator=(const Architecture &) = delete;
+};
+
+} // namespace lldb_private
+
+#endif // LLDB_CORE_ARCHITECTURE_H
diff --git a/include/lldb/Core/Disassembler.h b/include/lldb/Core/Disassembler.h
index addc83ad5e9d..fa5e6a636aaf 100644
--- a/include/lldb/Core/Disassembler.h
+++ b/include/lldb/Core/Disassembler.h
@@ -11,7 +11,6 @@
#define liblldb_Disassembler_h_
#include "lldb/Core/Address.h"
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/EmulateInstruction.h"
#include "lldb/Core/FormatEntity.h" // for FormatEntity
#include "lldb/Core/Opcode.h"
@@ -19,7 +18,8 @@
#include "lldb/Interpreter/OptionValue.h"
#include "lldb/Symbol/LineEntry.h"
#include "lldb/Target/ExecutionContext.h" // for ExecutionContext
-#include "lldb/Utility/ConstString.h" // for ConstString
+#include "lldb/Utility/ArchSpec.h"
+#include "lldb/Utility/ConstString.h" // for ConstString
#include "lldb/Utility/FileSpec.h"
#include "lldb/lldb-defines.h" // for DISALLOW_COPY_AND_ASSIGN
#include "lldb/lldb-enumerations.h" // for AddressClass, AddressClass...
diff --git a/include/lldb/Core/EmulateInstruction.h b/include/lldb/Core/EmulateInstruction.h
index bfc9ef054d7a..b0a4267a00a2 100644
--- a/include/lldb/Core/EmulateInstruction.h
+++ b/include/lldb/Core/EmulateInstruction.h
@@ -12,11 +12,10 @@
#include <string>
-#include "lldb/Core/ArchSpec.h"
+#include "lldb/Core/Address.h" // for Address
#include "lldb/Core/Opcode.h"
#include "lldb/Core/PluginInterface.h"
-
-#include "lldb/Core/Address.h" // for Address
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/lldb-defines.h" // for DISALLOW_COPY_AND_ASSIGN
#include "lldb/lldb-enumerations.h" // for RegisterKind, ByteOrder
#include "lldb/lldb-private-enumerations.h" // for InstructionType
diff --git a/include/lldb/Core/IOHandler.h b/include/lldb/Core/IOHandler.h
index ebf56d7908b4..e8cfbade5c61 100644
--- a/include/lldb/Core/IOHandler.h
+++ b/include/lldb/Core/IOHandler.h
@@ -195,7 +195,7 @@ public:
enum class Completion { None, LLDBCommand, Expression };
IOHandlerDelegate(Completion completion = Completion::None)
- : m_completion(completion), m_io_handler_done(false) {}
+ : m_completion(completion) {}
virtual ~IOHandlerDelegate() = default;
@@ -296,7 +296,6 @@ public:
protected:
Completion m_completion; // Support for common builtin completions
- bool m_io_handler_done;
};
//----------------------------------------------------------------------
diff --git a/include/lldb/Core/MappedHash.h b/include/lldb/Core/MappedHash.h
index 18d383ed581c..d56a6d537868 100644
--- a/include/lldb/Core/MappedHash.h
+++ b/include/lldb/Core/MappedHash.h
@@ -357,21 +357,24 @@ public:
}
uint32_t GetHashIndex(uint32_t bucket_idx) const {
+ uint32_t result = UINT32_MAX;
if (m_hash_indexes && bucket_idx < m_header.bucket_count)
- return m_hash_indexes[bucket_idx];
- return UINT32_MAX;
+ memcpy(&result, m_hash_indexes + bucket_idx, sizeof(uint32_t));
+ return result;
}
uint32_t GetHashValue(uint32_t hash_idx) const {
+ uint32_t result = UINT32_MAX;
if (m_hash_values && hash_idx < m_header.hashes_count)
- return m_hash_values[hash_idx];
- return UINT32_MAX;
+ memcpy(&result, m_hash_values + hash_idx, sizeof(uint32_t));
+ return result;
}
uint32_t GetHashDataOffset(uint32_t hash_idx) const {
+ uint32_t result = UINT32_MAX;
if (m_hash_offsets && hash_idx < m_header.hashes_count)
- return m_hash_offsets[hash_idx];
- return UINT32_MAX;
+ memcpy(&result, m_hash_offsets + hash_idx, sizeof(uint32_t));
+ return result;
}
bool Find(const char *name, Pair &pair) const {
diff --git a/include/lldb/Core/Module.h b/include/lldb/Core/Module.h
index 2ffe57ad8a4d..da981ade78ba 100644
--- a/include/lldb/Core/Module.h
+++ b/include/lldb/Core/Module.h
@@ -10,12 +10,12 @@
#ifndef liblldb_Module_h_
#define liblldb_Module_h_
-#include "lldb/Core/Address.h" // for Address
-#include "lldb/Core/ArchSpec.h"
+#include "lldb/Core/Address.h" // for Address
#include "lldb/Core/ModuleSpec.h" // for ModuleSpec
#include "lldb/Symbol/SymbolContextScope.h"
#include "lldb/Symbol/TypeSystem.h"
#include "lldb/Target/PathMappingList.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/ConstString.h" // for ConstString
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Status.h" // for Status
diff --git a/include/lldb/Core/ModuleSpec.h b/include/lldb/Core/ModuleSpec.h
index ce851d8af5fc..cc95bd0a0638 100644
--- a/include/lldb/Core/ModuleSpec.h
+++ b/include/lldb/Core/ModuleSpec.h
@@ -11,8 +11,8 @@
#define liblldb_ModuleSpec_h_
// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Target/PathMappingList.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/UUID.h"
diff --git a/include/lldb/Core/PluginManager.h b/include/lldb/Core/PluginManager.h
index d9851e5ecfc1..68e6ca20b266 100644
--- a/include/lldb/Core/PluginManager.h
+++ b/include/lldb/Core/PluginManager.h
@@ -10,6 +10,7 @@
#ifndef liblldb_PluginManager_h_
#define liblldb_PluginManager_h_
+#include "lldb/Core/Architecture.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Status.h" // for Status
#include "lldb/lldb-enumerations.h" // for ScriptLanguage
@@ -54,6 +55,21 @@ public:
GetABICreateCallbackForPluginName(const ConstString &name);
//------------------------------------------------------------------
+ // Architecture
+ //------------------------------------------------------------------
+ using ArchitectureCreateInstance =
+ std::unique_ptr<Architecture> (*)(const ArchSpec &);
+
+ static void RegisterPlugin(const ConstString &name,
+ llvm::StringRef description,
+ ArchitectureCreateInstance create_callback);
+
+ static void UnregisterPlugin(ArchitectureCreateInstance create_callback);
+
+ static std::unique_ptr<Architecture>
+ CreateArchitectureInstance(const ArchSpec &arch);
+
+ //------------------------------------------------------------------
// Disassembler
//------------------------------------------------------------------
static bool RegisterPlugin(const ConstString &name, const char *description,
diff --git a/include/lldb/Core/RangeMap.h b/include/lldb/Core/RangeMap.h
index e37dcd7df443..91fd409fb4ed 100644
--- a/include/lldb/Core/RangeMap.h
+++ b/include/lldb/Core/RangeMap.h
@@ -975,7 +975,6 @@ public:
#endif
if (!m_entries.empty()) {
- typename Collection::const_iterator pos;
for (const auto &entry : m_entries) {
if (entry.Contains(addr))
indexes.push_back(entry.data);
diff --git a/include/lldb/Core/Section.h b/include/lldb/Core/Section.h
index 0466693edbc4..2d5d6443ba7f 100644
--- a/include/lldb/Core/Section.h
+++ b/include/lldb/Core/Section.h
@@ -238,7 +238,7 @@ public:
/// section has no data or \a offset is not a valid offset
/// in this section.
//------------------------------------------------------------------
- lldb::offset_t GetSectionData(DataExtractor &data) const;
+ lldb::offset_t GetSectionData(DataExtractor &data);
uint32_t GetLog2Align() { return m_log2align; }
@@ -247,6 +247,10 @@ public:
// Get the number of host bytes required to hold a target byte
uint32_t GetTargetByteSize() const { return m_target_byte_size; }
+ bool IsRelocated() const { return m_relocated; }
+
+ void SetIsRelocated(bool b) { m_relocated = b; }
+
protected:
ObjectFile *m_obj_file; // The object file that data for this section should
// be read from
@@ -274,7 +278,8 @@ protected:
m_thread_specific : 1, // This section is thread specific
m_readable : 1, // If this section has read permissions
m_writable : 1, // If this section has write permissions
- m_executable : 1; // If this section has executable permissions
+ m_executable : 1, // If this section has executable permissions
+ m_relocated : 1; // If this section has had relocations applied
uint32_t m_target_byte_size; // Some architectures have non-8-bit byte size.
// This is specified as
// as a multiple number of a host bytes
diff --git a/include/lldb/Expression/DWARFExpression.h b/include/lldb/Expression/DWARFExpression.h
index 1816c3b7a00f..c85aaa5c1f9a 100644
--- a/include/lldb/Expression/DWARFExpression.h
+++ b/include/lldb/Expression/DWARFExpression.h
@@ -22,10 +22,6 @@ class DWARFCompileUnit;
namespace lldb_private {
-class ClangExpressionDeclMap;
-class ClangExpressionVariable;
-class ClangExpressionVariableList;
-
//----------------------------------------------------------------------
/// @class DWARFExpression DWARFExpression.h "lldb/Expression/DWARFExpression.h"
/// @brief Encapsulates a DWARF location expression and interprets it.
@@ -262,8 +258,6 @@ public:
/// member variables to populate many operands
//------------------------------------------------------------------
bool Evaluate(ExecutionContextScope *exe_scope,
- ClangExpressionVariableList *expr_locals,
- ClangExpressionDeclMap *decl_map,
lldb::addr_t loclist_base_load_addr,
const Value *initial_value_ptr, const Value *object_address_ptr,
Value &result, Status *error_ptr) const;
@@ -272,9 +266,7 @@ public:
/// Wrapper for the static evaluate function that uses member
/// variables to populate many operands
//------------------------------------------------------------------
- bool Evaluate(ExecutionContext *exe_ctx,
- ClangExpressionVariableList *expr_locals,
- ClangExpressionDeclMap *decl_map, RegisterContext *reg_ctx,
+ bool Evaluate(ExecutionContext *exe_ctx, RegisterContext *reg_ctx,
lldb::addr_t loclist_base_load_addr,
const Value *initial_value_ptr, const Value *object_address_ptr,
Value &result, Status *error_ptr) const;
@@ -338,32 +330,14 @@ public:
/// True on success; false otherwise. If error_ptr is non-NULL,
/// details of the failure are provided through it.
//------------------------------------------------------------------
- static bool
- Evaluate(ExecutionContext *exe_ctx, ClangExpressionVariableList *expr_locals,
- ClangExpressionDeclMap *decl_map, RegisterContext *reg_ctx,
- lldb::ModuleSP opcode_ctx, const DataExtractor &opcodes,
- DWARFCompileUnit *dwarf_cu, const lldb::offset_t offset,
- const lldb::offset_t length, const lldb::RegisterKind reg_set,
- const Value *initial_value_ptr, const Value *object_address_ptr,
- Value &result, Status *error_ptr);
-
- //------------------------------------------------------------------
- /// Loads a ClangExpressionVariableList into the object
- ///
- /// @param[in] locals
- /// If non-NULL, the list of locals used by this expression.
- /// See Evaluate().
- //------------------------------------------------------------------
- void SetExpressionLocalVariableList(ClangExpressionVariableList *locals);
-
- //------------------------------------------------------------------
- /// Loads a ClangExpressionDeclMap into the object
- ///
- /// @param[in] locals
- /// If non-NULL, the list of external variables used by this
- /// expression. See Evaluate().
- //------------------------------------------------------------------
- void SetExpressionDeclMap(ClangExpressionDeclMap *decl_map);
+ static bool Evaluate(ExecutionContext *exe_ctx, RegisterContext *reg_ctx,
+ lldb::ModuleSP opcode_ctx, const DataExtractor &opcodes,
+ DWARFCompileUnit *dwarf_cu, const lldb::offset_t offset,
+ const lldb::offset_t length,
+ const lldb::RegisterKind reg_set,
+ const Value *initial_value_ptr,
+ const Value *object_address_ptr, Value &result,
+ Status *error_ptr);
bool GetExpressionData(DataExtractor &data) const {
data = m_data;
diff --git a/include/lldb/Expression/ExpressionParser.h b/include/lldb/Expression/ExpressionParser.h
index 19526d28b9b3..a550d576f437 100644
--- a/include/lldb/Expression/ExpressionParser.h
+++ b/include/lldb/Expression/ExpressionParser.h
@@ -11,6 +11,7 @@
#define liblldb_ExpressionParser_h_
#include "lldb/Utility/Status.h"
+#include "lldb/lldb-private-enumerations.h"
#include "lldb/lldb-public.h"
namespace lldb_private {
diff --git a/include/lldb/Expression/IRExecutionUnit.h b/include/lldb/Expression/IRExecutionUnit.h
index b0b4d7a5c586..703fcd152af4 100644
--- a/include/lldb/Expression/IRExecutionUnit.h
+++ b/include/lldb/Expression/IRExecutionUnit.h
@@ -421,8 +421,8 @@ private:
lldb::addr_t m_function_load_addr;
lldb::addr_t m_function_end_load_addr;
- bool m_strip_underscore; ///< True for platforms where global symbols have a _
- ///prefix
+ bool m_strip_underscore = true; ///< True for platforms where global symbols
+ /// have a _ prefix
bool m_reported_allocations; ///< True after allocations have been reported.
///It is possible that
///< sections will be allocated when this is true, in which case they weren't
diff --git a/include/lldb/Host/Config.h.cmake b/include/lldb/Host/Config.h.cmake
index 0deedd151a5e..73f4b8f6cc4a 100644
--- a/include/lldb/Host/Config.h.cmake
+++ b/include/lldb/Host/Config.h.cmake
@@ -24,4 +24,6 @@
#cmakedefine01 HAVE_NR_PROCESS_VM_READV
+#cmakedefine HAVE_LIBCOMPRESSION
+
#endif // #ifndef LLDB_HOST_CONFIG_H
diff --git a/include/lldb/Host/Host.h b/include/lldb/Host/Host.h
index da0b8e14c4a7..f099c72381be 100644
--- a/include/lldb/Host/Host.h
+++ b/include/lldb/Host/Host.h
@@ -48,6 +48,12 @@ struct WaitStatus {
static WaitStatus Decode(int wstatus);
};
+inline bool operator==(WaitStatus a, WaitStatus b) {
+ return a.type == b.type && a.status == b.status;
+}
+
+inline bool operator!=(WaitStatus a, WaitStatus b) { return !(a == b); }
+
//----------------------------------------------------------------------
/// @class Host Host.h "lldb/Host/Host.h"
/// @brief A class that provides host computer information.
diff --git a/include/lldb/Host/HostInfoBase.h b/include/lldb/Host/HostInfoBase.h
index 42e3fc3fd1da..52648d2031fc 100644
--- a/include/lldb/Host/HostInfoBase.h
+++ b/include/lldb/Host/HostInfoBase.h
@@ -10,7 +10,7 @@
#ifndef lldb_Host_HostInfoBase_h_
#define lldb_Host_HostInfoBase_h_
-#include "lldb/Core/ArchSpec.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/lldb-enumerations.h"
@@ -61,6 +61,8 @@ public:
static const ArchSpec &
GetArchitecture(ArchitectureKind arch_kind = eArchKindDefault);
+ static llvm::Optional<ArchitectureKind> ParseArchitectureKind(llvm::StringRef kind);
+
//------------------------------------------------------------------
/// Find a resource files that are related to LLDB.
///
@@ -81,6 +83,13 @@ public:
//------------------------------------------------------------------
static bool GetLLDBPath(lldb::PathType type, FileSpec &file_spec);
+ //---------------------------------------------------------------------------
+ /// If the triple does not specify the vendor, os, and environment parts, we
+ /// "augment" these using information from the host and return the resulting
+ /// ArchSpec object.
+ //---------------------------------------------------------------------------
+ static ArchSpec GetAugmentedArchSpec(llvm::StringRef triple);
+
protected:
static bool ComputeSharedLibraryDirectory(FileSpec &file_spec);
static bool ComputeSupportExeDirectory(FileSpec &file_spec);
diff --git a/include/lldb/Host/MainLoop.h b/include/lldb/Host/MainLoop.h
index 5ac145ff865b..c59a5aa5b0e8 100644
--- a/include/lldb/Host/MainLoop.h
+++ b/include/lldb/Host/MainLoop.h
@@ -15,7 +15,7 @@
#include "llvm/ADT/DenseMap.h"
#include <csignal>
-#if !HAVE_PPOLL && !HAVE_SYS_EVENT_H
+#if !HAVE_PPOLL && !HAVE_SYS_EVENT_H && !defined(__ANDROID__)
#define SIGNAL_POLLING_UNSUPPORTED 1
#endif
diff --git a/include/lldb/Host/PseudoTerminal.h b/include/lldb/Host/PseudoTerminal.h
index fdbf6df1a186..00c0da6f3315 100644
--- a/include/lldb/Host/PseudoTerminal.h
+++ b/include/lldb/Host/PseudoTerminal.h
@@ -9,14 +9,13 @@
#ifndef LLDB_HOST_PSEUDOTERMINAL_H
#define LLDB_HOST_PSEUDOTERMINAL_H
-#if defined(__cplusplus)
#include <fcntl.h>
#include <string>
#include "lldb/lldb-defines.h"
-namespace lldb_utility {
+namespace lldb_private {
//----------------------------------------------------------------------
/// @class PseudoTerminal PseudoTerminal.h "lldb/Host/PseudoTerminal.h"
@@ -246,7 +245,6 @@ private:
DISALLOW_COPY_AND_ASSIGN(PseudoTerminal);
};
-} // namespace lldb_utility
+} // namespace lldb_private
-#endif // #if defined(__cplusplus)
#endif // #ifndef liblldb_PseudoTerminal_h_
diff --git a/include/lldb/Utility/TaskPool.h b/include/lldb/Host/TaskPool.h
index f2deaee506b8..13076e7eb70b 100644
--- a/include/lldb/Utility/TaskPool.h
+++ b/include/lldb/Host/TaskPool.h
@@ -18,6 +18,8 @@
#include <mutex> // for mutex, unique_lock, condition_variable
#include <type_traits> // for forward, result_of, move
+namespace lldb_private {
+
// Global TaskPool class for running tasks in parallel on a set of worker thread
// created the first
// time the task pool is used. The TaskPool provide no guarantee about the order
@@ -89,4 +91,8 @@ template <> struct TaskPool::RunTaskImpl<> {
void TaskMapOverInt(size_t begin, size_t end,
const llvm::function_ref<void(size_t)> &func);
+unsigned GetHardwareConcurrencyHint();
+
+} // namespace lldb_private
+
#endif // #ifndef utility_TaskPool_h_
diff --git a/include/lldb/Host/common/NativeProcessProtocol.h b/include/lldb/Host/common/NativeProcessProtocol.h
index 9671d710fc02..bd8b8744b115 100644
--- a/include/lldb/Host/common/NativeProcessProtocol.h
+++ b/include/lldb/Host/common/NativeProcessProtocol.h
@@ -10,8 +10,12 @@
#ifndef liblldb_NativeProcessProtocol_h_
#define liblldb_NativeProcessProtocol_h_
+#include "NativeBreakpointList.h"
+#include "NativeThreadProtocol.h"
+#include "NativeWatchpointList.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/MainLoop.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/TraceOptions.h"
#include "lldb/lldb-private-forward.h"
@@ -23,9 +27,6 @@
#include "llvm/Support/MemoryBuffer.h"
#include <vector>
-#include "NativeBreakpointList.h"
-#include "NativeWatchpointList.h"
-
namespace lldb_private {
class MemoryRegionInfo;
class ResumeActionList;
@@ -100,7 +101,7 @@ public:
virtual size_t UpdateThreads() = 0;
- virtual bool GetArchitecture(ArchSpec &arch) const = 0;
+ virtual const ArchSpec &GetArchitecture() const = 0;
//----------------------------------------------------------------------
// Breakpoint functions
@@ -151,7 +152,9 @@ public:
bool CanResume() const { return m_state == lldb::eStateStopped; }
- bool GetByteOrder(lldb::ByteOrder &byte_order) const;
+ lldb::ByteOrder GetByteOrder() const {
+ return GetArchitecture().GetByteOrder();
+ }
virtual llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
GetAuxvData() const = 0;
@@ -166,15 +169,15 @@ public:
//----------------------------------------------------------------------
// Access to threads
//----------------------------------------------------------------------
- NativeThreadProtocolSP GetThreadAtIndex(uint32_t idx);
+ NativeThreadProtocol *GetThreadAtIndex(uint32_t idx);
- NativeThreadProtocolSP GetThreadByID(lldb::tid_t tid);
+ NativeThreadProtocol *GetThreadByID(lldb::tid_t tid);
void SetCurrentThreadID(lldb::tid_t tid) { m_current_thread_id = tid; }
lldb::tid_t GetCurrentThreadID() { return m_current_thread_id; }
- NativeThreadProtocolSP GetCurrentThread() {
+ NativeThreadProtocol *GetCurrentThread() {
return GetThreadByID(m_current_thread_id);
}
@@ -401,7 +404,7 @@ public:
protected:
lldb::pid_t m_pid;
- std::vector<NativeThreadProtocolSP> m_threads;
+ std::vector<std::unique_ptr<NativeThreadProtocol>> m_threads;
lldb::tid_t m_current_thread_id = LLDB_INVALID_THREAD_ID;
mutable std::recursive_mutex m_threads_mutex;
@@ -461,7 +464,7 @@ protected:
// -----------------------------------------------------------
void NotifyDidExec();
- NativeThreadProtocolSP GetThreadByIDUnlocked(lldb::tid_t tid);
+ NativeThreadProtocol *GetThreadByIDUnlocked(lldb::tid_t tid);
// -----------------------------------------------------------
// Static helper methods for derived classes.
diff --git a/include/lldb/Host/common/NativeRegisterContext.h b/include/lldb/Host/common/NativeRegisterContext.h
index 982d81b9ac4c..a8c5fa17e264 100644
--- a/include/lldb/Host/common/NativeRegisterContext.h
+++ b/include/lldb/Host/common/NativeRegisterContext.h
@@ -27,8 +27,7 @@ public:
//------------------------------------------------------------------
// Constructors and Destructors
//------------------------------------------------------------------
- NativeRegisterContext(NativeThreadProtocol &thread,
- uint32_t concrete_frame_idx);
+ NativeRegisterContext(NativeThreadProtocol &thread);
virtual ~NativeRegisterContext();
@@ -184,8 +183,6 @@ protected:
//------------------------------------------------------------------
NativeThreadProtocol
&m_thread; // The thread that this register context belongs to.
- uint32_t m_concrete_frame_idx; // The concrete frame index for this register
- // context
// uint32_t m_stop_id; // The stop ID that any data in this
// context is valid for
diff --git a/include/lldb/Host/common/NativeThreadProtocol.h b/include/lldb/Host/common/NativeThreadProtocol.h
index d96f71311185..5609cdda4eea 100644
--- a/include/lldb/Host/common/NativeThreadProtocol.h
+++ b/include/lldb/Host/common/NativeThreadProtocol.h
@@ -20,8 +20,7 @@ namespace lldb_private {
//------------------------------------------------------------------
// NativeThreadProtocol
//------------------------------------------------------------------
-class NativeThreadProtocol
- : public std::enable_shared_from_this<NativeThreadProtocol> {
+class NativeThreadProtocol {
public:
NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid);
@@ -31,7 +30,7 @@ public:
virtual lldb::StateType GetState() = 0;
- virtual NativeRegisterContextSP GetRegisterContext() = 0;
+ virtual NativeRegisterContext &GetRegisterContext() = 0;
virtual Status ReadRegister(uint32_t reg, RegisterValue &reg_value);
diff --git a/include/lldb/Interpreter/Args.h b/include/lldb/Interpreter/Args.h
index 98046cd59545..19d7ac418566 100644
--- a/include/lldb/Interpreter/Args.h
+++ b/include/lldb/Interpreter/Args.h
@@ -86,6 +86,7 @@ public:
Args(llvm::StringRef command = llvm::StringRef());
Args(const Args &rhs);
+ explicit Args(const StringList &list);
Args &operator=(const Args &rhs);
diff --git a/include/lldb/Interpreter/CommandInterpreter.h b/include/lldb/Interpreter/CommandInterpreter.h
index 73bd7d6e6220..5e561f47946d 100644
--- a/include/lldb/Interpreter/CommandInterpreter.h
+++ b/include/lldb/Interpreter/CommandInterpreter.h
@@ -242,6 +242,8 @@ public:
bool repeat_on_empty_command = true,
bool no_context_switching = false);
+ bool WasInterrupted() const;
+
//------------------------------------------------------------------
/// Execute a list of commands in sequence.
///
@@ -522,6 +524,25 @@ private:
StringList &commands_help,
CommandObject::CommandMap &command_map);
+ // An interruptible wrapper around the stream output
+ void PrintCommandOutput(Stream &stream, llvm::StringRef str);
+
+ // A very simple state machine which models the command handling transitions
+ enum class CommandHandlingState {
+ eIdle,
+ eInProgress,
+ eInterrupted,
+ };
+
+ std::atomic<CommandHandlingState> m_command_state{
+ CommandHandlingState::eIdle};
+
+ int m_iohandler_nesting_level = 0;
+
+ void StartHandlingCommand();
+ void FinishHandlingCommand();
+ bool InterruptCommand();
+
Debugger &m_debugger; // The debugger session that this interpreter is
// associated with
ExecutionContextRef m_exe_ctx_ref; // The current execution context to use
diff --git a/include/lldb/Interpreter/OptionGroupArchitecture.h b/include/lldb/Interpreter/OptionGroupArchitecture.h
index e73a53421f28..2cecaa65a0fd 100644
--- a/include/lldb/Interpreter/OptionGroupArchitecture.h
+++ b/include/lldb/Interpreter/OptionGroupArchitecture.h
@@ -10,12 +10,8 @@
#ifndef liblldb_OptionGroupArchitecture_h_
#define liblldb_OptionGroupArchitecture_h_
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Interpreter/Options.h"
+#include "lldb/Utility/ArchSpec.h"
namespace lldb_private {
diff --git a/include/lldb/Interpreter/OptionValueArch.h b/include/lldb/Interpreter/OptionValueArch.h
index e1a354d4ae21..d66448aa2bed 100644
--- a/include/lldb/Interpreter/OptionValueArch.h
+++ b/include/lldb/Interpreter/OptionValueArch.h
@@ -10,12 +10,8 @@
#ifndef liblldb_OptionValueArch_h_
#define liblldb_OptionValueArch_h_
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Interpreter/OptionValue.h"
+#include "lldb/Utility/ArchSpec.h"
namespace lldb_private {
diff --git a/include/lldb/Symbol/ArmUnwindInfo.h b/include/lldb/Symbol/ArmUnwindInfo.h
index ef67a31e7d0d..422408b034c6 100644
--- a/include/lldb/Symbol/ArmUnwindInfo.h
+++ b/include/lldb/Symbol/ArmUnwindInfo.h
@@ -31,7 +31,7 @@ namespace lldb_private {
class ArmUnwindInfo {
public:
- ArmUnwindInfo(const ObjectFile &objfile, lldb::SectionSP &arm_exidx,
+ ArmUnwindInfo(ObjectFile &objfile, lldb::SectionSP &arm_exidx,
lldb::SectionSP &arm_extab);
~ArmUnwindInfo();
diff --git a/include/lldb/Symbol/ClangASTContext.h b/include/lldb/Symbol/ClangASTContext.h
index 9d0a08414e93..2d2c804eb025 100644
--- a/include/lldb/Symbol/ClangASTContext.h
+++ b/include/lldb/Symbol/ClangASTContext.h
@@ -25,6 +25,7 @@
// Other libraries and framework includes
#include "clang/AST/ASTContext.h"
+#include "clang/AST/ExternalASTMerger.h"
#include "clang/AST/TemplateBase.h"
#include "llvm/ADT/SmallVector.h"
@@ -396,7 +397,8 @@ public:
CompilerType CreateEnumerationType(const char *name,
clang::DeclContext *decl_ctx,
const Declaration &decl,
- const CompilerType &integer_qual_type);
+ const CompilerType &integer_qual_type,
+ bool is_scoped);
//------------------------------------------------------------------
// Integer type functions
@@ -780,9 +782,14 @@ public:
size_t GetNumTemplateArguments(lldb::opaque_compiler_type_t type) override;
- CompilerType GetTemplateArgument(lldb::opaque_compiler_type_t type,
- size_t idx,
- lldb::TemplateArgumentKind &kind) override;
+ lldb::TemplateArgumentKind
+ GetTemplateArgumentKind(lldb::opaque_compiler_type_t type,
+ size_t idx) override;
+ CompilerType GetTypeTemplateArgument(lldb::opaque_compiler_type_t type,
+ size_t idx) override;
+ llvm::Optional<CompilerType::IntegralTemplateArgument>
+ GetIntegralTemplateArgument(lldb::opaque_compiler_type_t type,
+ size_t idx) override;
CompilerType GetTypeForFormatters(void *type) override;
@@ -964,8 +971,14 @@ public:
clang::DeclarationName
GetDeclarationName(const char *name, const CompilerType &function_clang_type);
-
+
+ virtual const clang::ExternalASTMerger::OriginMap &GetOriginMap() {
+ return m_origins;
+ }
protected:
+ const clang::ClassTemplateSpecializationDecl *
+ GetAsTemplateSpecialization(lldb::opaque_compiler_type_t type);
+
//------------------------------------------------------------------
// Classes that inherit from ClangASTContext can see and modify these
//------------------------------------------------------------------
@@ -990,6 +1003,7 @@ protected:
CompleteTagDeclCallback m_callback_tag_decl;
CompleteObjCInterfaceDeclCallback m_callback_objc_decl;
void * m_callback_baton;
+ clang::ExternalASTMerger::OriginMap m_origins;
uint32_t m_pointer_byte_size;
bool m_ast_owned;
bool m_can_evaluate_expressions;
@@ -1023,7 +1037,12 @@ public:
const char *name) override;
PersistentExpressionState *GetPersistentExpressionState() override;
-
+
+ clang::ExternalASTMerger &GetMergerUnchecked();
+
+ const clang::ExternalASTMerger::OriginMap &GetOriginMap() override {
+ return GetMergerUnchecked().GetOrigins();
+ }
private:
lldb::TargetWP m_target_wp;
lldb::ClangPersistentVariablesUP m_persistent_variables; ///< These are the
diff --git a/include/lldb/Symbol/CompilerType.h b/include/lldb/Symbol/CompilerType.h
index c5bca54ed43f..70d56db7fc21 100644
--- a/include/lldb/Symbol/CompilerType.h
+++ b/include/lldb/Symbol/CompilerType.h
@@ -20,6 +20,7 @@
// Project includes
#include "lldb/Core/ClangForward.h"
#include "lldb/lldb-private.h"
+#include "llvm/ADT/APSInt.h"
namespace lldb_private {
@@ -290,6 +291,8 @@ public:
// Exploring the type
//----------------------------------------------------------------------
+ struct IntegralTemplateArgument;
+
uint64_t GetByteSize(ExecutionContextScope *exe_scope) const;
uint64_t GetBitSize(ExecutionContextScope *exe_scope) const;
@@ -365,8 +368,12 @@ public:
size_t GetNumTemplateArguments() const;
- CompilerType GetTemplateArgument(size_t idx,
- lldb::TemplateArgumentKind &kind) const;
+ lldb::TemplateArgumentKind GetTemplateArgumentKind(size_t idx) const;
+ CompilerType GetTypeTemplateArgument(size_t idx) const;
+
+ // Returns the value of the template argument and its type.
+ llvm::Optional<IntegralTemplateArgument>
+ GetIntegralTemplateArgument(size_t idx) const;
CompilerType GetTypeForFormatters() const;
@@ -429,6 +436,11 @@ private:
bool operator==(const CompilerType &lhs, const CompilerType &rhs);
bool operator!=(const CompilerType &lhs, const CompilerType &rhs);
+struct CompilerType::IntegralTemplateArgument {
+ llvm::APSInt value;
+ CompilerType type;
+};
+
} // namespace lldb_private
#endif // liblldb_CompilerType_h_
diff --git a/include/lldb/Symbol/DeclVendor.h b/include/lldb/Symbol/DeclVendor.h
index 16d514fdf1bd..f0ce9157cfa5 100644
--- a/include/lldb/Symbol/DeclVendor.h
+++ b/include/lldb/Symbol/DeclVendor.h
@@ -13,6 +13,8 @@
#include "lldb/Core/ClangForward.h"
#include "lldb/lldb-defines.h"
+#include "clang/AST/ExternalASTMerger.h"
+
#include <vector>
namespace lldb_private {
@@ -53,6 +55,15 @@ public:
uint32_t max_matches,
std::vector<clang::NamedDecl *> &decls) = 0;
+ //------------------------------------------------------------------
+ /// Interface for ExternalASTMerger. Returns an ImporterSource
+ /// allowing type completion.
+ ///
+ /// @return
+ /// An ImporterSource for this DeclVendor.
+ //------------------------------------------------------------------
+ virtual clang::ExternalASTMerger::ImporterSource GetImporterSource() = 0;
+
private:
//------------------------------------------------------------------
// For DeclVendor only
diff --git a/include/lldb/Symbol/FuncUnwinders.h b/include/lldb/Symbol/FuncUnwinders.h
index 64c222cce585..27f42cf425b2 100644
--- a/include/lldb/Symbol/FuncUnwinders.h
+++ b/include/lldb/Symbol/FuncUnwinders.h
@@ -1,13 +1,11 @@
#ifndef liblldb_FuncUnwinders_h
#define liblldb_FuncUnwinders_h
+#include "lldb/Core/AddressRange.h"
+#include "lldb/lldb-private-enumerations.h"
#include <mutex>
#include <vector>
-#include "lldb/Core/AddressRange.h"
-#include "lldb/Core/AddressRange.h"
-#include "lldb/Core/ArchSpec.h"
-
namespace lldb_private {
class UnwindTable;
diff --git a/include/lldb/Symbol/GoASTContext.h b/include/lldb/Symbol/GoASTContext.h
index 6feac7abf162..ee111942c205 100644
--- a/include/lldb/Symbol/GoASTContext.h
+++ b/include/lldb/Symbol/GoASTContext.h
@@ -315,12 +315,6 @@ public:
return 0;
}
- CompilerType GetTemplateArgument(lldb::opaque_compiler_type_t type,
- size_t idx,
- lldb::TemplateArgumentKind &kind) override {
- return CompilerType();
- }
-
//----------------------------------------------------------------------
// Dumping types
//----------------------------------------------------------------------
diff --git a/include/lldb/Symbol/JavaASTContext.h b/include/lldb/Symbol/JavaASTContext.h
index 4fdd2371b67e..41a881dcf4eb 100644
--- a/include/lldb/Symbol/JavaASTContext.h
+++ b/include/lldb/Symbol/JavaASTContext.h
@@ -203,10 +203,6 @@ public:
size_t GetNumTemplateArguments(lldb::opaque_compiler_type_t type) override;
- CompilerType GetTemplateArgument(lldb::opaque_compiler_type_t type,
- size_t idx,
- lldb::TemplateArgumentKind &kind) override;
-
int GetFunctionArgumentCount(lldb::opaque_compiler_type_t type) override;
CompilerType GetFunctionArgumentTypeAtIndex(lldb::opaque_compiler_type_t type,
diff --git a/include/lldb/Symbol/OCamlASTContext.h b/include/lldb/Symbol/OCamlASTContext.h
index a261d43519e0..7144886e1c75 100644
--- a/include/lldb/Symbol/OCamlASTContext.h
+++ b/include/lldb/Symbol/OCamlASTContext.h
@@ -231,12 +231,6 @@ public:
return 0;
}
- CompilerType GetTemplateArgument(lldb::opaque_compiler_type_t type,
- size_t idx,
- lldb::TemplateArgumentKind &kind) override {
- return CompilerType();
- }
-
void DumpValue(lldb::opaque_compiler_type_t type, ExecutionContext *exe_ctx,
Stream *s, lldb::Format format, const DataExtractor &data,
lldb::offset_t data_offset, size_t data_byte_size,
diff --git a/include/lldb/Symbol/ObjectFile.h b/include/lldb/Symbol/ObjectFile.h
index a4c7b01ece17..3f9250af7e08 100644
--- a/include/lldb/Symbol/ObjectFile.h
+++ b/include/lldb/Symbol/ObjectFile.h
@@ -352,6 +352,12 @@ public:
virtual Symtab *GetSymtab() = 0;
//------------------------------------------------------------------
+ /// Perform relocations on the section if necessary.
+ ///
+ //------------------------------------------------------------------
+ virtual void RelocateSection(lldb_private::Section *section);
+
+ //------------------------------------------------------------------
/// Appends a Symbol for the specified so_addr to the symbol table.
///
/// If verify_unique is false, the symbol table is not searched
@@ -787,20 +793,26 @@ public:
static lldb::DataBufferSP ReadMemory(const lldb::ProcessSP &process_sp,
lldb::addr_t addr, size_t byte_size);
+ // This function returns raw file contents. Do not use it if you want
+ // transparent decompression of section contents.
size_t GetData(lldb::offset_t offset, size_t length,
DataExtractor &data) const;
+ // This function returns raw file contents. Do not use it if you want
+ // transparent decompression of section contents.
size_t CopyData(lldb::offset_t offset, size_t length, void *dst) const;
- virtual size_t ReadSectionData(const Section *section,
+ // This function will transparently decompress section data if the section if
+ // compressed.
+ virtual size_t ReadSectionData(Section *section,
lldb::offset_t section_offset, void *dst,
- size_t dst_len) const;
-
- virtual size_t ReadSectionData(const Section *section,
- DataExtractor &section_data) const;
+ size_t dst_len);
- size_t MemoryMapSectionData(const Section *section,
- DataExtractor &section_data) const;
+ // This function will transparently decompress section data if the section if
+ // compressed. Note that for compressed section the resulting data size may be
+ // larger than what Section::GetFileSize reports.
+ virtual size_t ReadSectionData(Section *section,
+ DataExtractor &section_data);
bool IsInMemory() const { return m_memory_addr != LLDB_INVALID_ADDRESS; }
diff --git a/include/lldb/Symbol/TypeSystem.h b/include/lldb/Symbol/TypeSystem.h
index b4f84c0dd67c..ff85d8428746 100644
--- a/include/lldb/Symbol/TypeSystem.h
+++ b/include/lldb/Symbol/TypeSystem.h
@@ -351,9 +351,12 @@ public:
virtual size_t GetNumTemplateArguments(lldb::opaque_compiler_type_t type) = 0;
- virtual CompilerType
- GetTemplateArgument(lldb::opaque_compiler_type_t type, size_t idx,
- lldb::TemplateArgumentKind &kind) = 0;
+ virtual lldb::TemplateArgumentKind
+ GetTemplateArgumentKind(lldb::opaque_compiler_type_t type, size_t idx);
+ virtual CompilerType GetTypeTemplateArgument(lldb::opaque_compiler_type_t type,
+ size_t idx);
+ virtual llvm::Optional<CompilerType::IntegralTemplateArgument>
+ GetIntegralTemplateArgument(lldb::opaque_compiler_type_t type, size_t idx);
//----------------------------------------------------------------------
// Dumping types
diff --git a/include/lldb/Target/Platform.h b/include/lldb/Target/Platform.h
index cc007d959c65..6288a3ab684f 100644
--- a/include/lldb/Target/Platform.h
+++ b/include/lldb/Target/Platform.h
@@ -21,10 +21,10 @@
// Other libraries and framework includes
// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/PluginInterface.h"
#include "lldb/Core/UserSettingsController.h"
#include "lldb/Interpreter/Options.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/lldb-private-forward.h"
@@ -53,6 +53,7 @@ public:
};
typedef std::shared_ptr<PlatformProperties> PlatformPropertiesSP;
+typedef llvm::SmallVector<lldb::addr_t, 6> MmapArgList;
//----------------------------------------------------------------------
/// @class Platform Platform.h "lldb/Target/Platform.h"
@@ -116,9 +117,12 @@ public:
static lldb::PlatformSP Create(const ArchSpec &arch,
ArchSpec *platform_arch_ptr, Status &error);
- static uint32_t GetNumConnectedRemotePlatforms();
-
- static lldb::PlatformSP GetConnectedRemotePlatformAtIndex(uint32_t idx);
+ //------------------------------------------------------------------------
+ /// Augments the triple either with information from platform or the host
+ /// system (if platform is null).
+ //------------------------------------------------------------------------
+ static ArchSpec GetAugmentedArchSpec(Platform *platform,
+ llvm::StringRef triple);
//------------------------------------------------------------------
/// Find a platform plugin for a given process.
@@ -512,6 +516,13 @@ public:
m_os_version_set_while_connected = m_system_arch.IsValid();
}
+ //---------------------------------------------------------------------------
+ /// If the triple contains not specify the vendor, os, and environment parts,
+ /// we "augment" these using information from the platform and return the
+ /// resulting ArchSpec object.
+ //---------------------------------------------------------------------------
+ ArchSpec GetAugmentedArchSpec(llvm::StringRef triple);
+
// Used for column widths
size_t GetMaxUserIDNameLength() const { return m_max_uid_name_len; }
@@ -628,8 +639,11 @@ public:
virtual Status Unlink(const FileSpec &file_spec);
- virtual uint64_t ConvertMmapFlagsToPlatform(const ArchSpec &arch,
- unsigned flags);
+ virtual MmapArgList GetMmapArgumentList(const ArchSpec &arch,
+ lldb::addr_t addr,
+ lldb::addr_t length,
+ unsigned prot, unsigned flags,
+ lldb::addr_t fd, lldb::addr_t offset);
virtual bool GetSupportsRSync() { return m_supports_rsync; }
diff --git a/include/lldb/Target/Process.h b/include/lldb/Target/Process.h
index df09570057a1..16f37f4dd5dc 100644
--- a/include/lldb/Target/Process.h
+++ b/include/lldb/Target/Process.h
@@ -27,7 +27,6 @@
// Other libraries and framework includes
// Project includes
#include "lldb/Breakpoint/BreakpointSiteList.h"
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/Broadcaster.h"
#include "lldb/Core/Communication.h"
#include "lldb/Core/Event.h"
@@ -46,6 +45,7 @@
#include "lldb/Target/ProcessLaunchInfo.h"
#include "lldb/Target/QueueList.h"
#include "lldb/Target/ThreadList.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/NameMatches.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StructuredData.h"
@@ -99,6 +99,8 @@ public:
bool GetWarningsOptimization() const;
+ bool GetStopOnExec() const;
+
protected:
static void OptionValueChangedCallback(void *baton,
OptionValue *option_value);
@@ -2514,10 +2516,6 @@ public:
OperatingSystem *GetOperatingSystem() { return m_os_ap.get(); }
- ArchSpec::StopInfoOverrideCallbackType GetStopInfoOverrideCallback() const {
- return m_stop_info_override_callback;
- }
-
virtual LanguageRuntime *GetLanguageRuntime(lldb::LanguageType language,
bool retry_if_null = true);
@@ -3106,7 +3104,6 @@ protected:
std::vector<PreResumeCallbackAndBaton> m_pre_resume_actions;
ProcessRunLock m_public_run_lock;
ProcessRunLock m_private_run_lock;
- ArchSpec::StopInfoOverrideCallbackType m_stop_info_override_callback;
bool m_currently_handling_do_on_removals;
bool m_resume_requested; // If m_currently_handling_event or
// m_currently_handling_do_on_removals are true,
diff --git a/include/lldb/Target/ProcessInfo.h b/include/lldb/Target/ProcessInfo.h
index 03b15242f7ee..4077abf89baf 100644
--- a/include/lldb/Target/ProcessInfo.h
+++ b/include/lldb/Target/ProcessInfo.h
@@ -11,8 +11,8 @@
#define liblldb_ProcessInfo_h_
// LLDB headers
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Interpreter/Args.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/FileSpec.h"
namespace lldb_private {
diff --git a/include/lldb/Target/ProcessLaunchInfo.h b/include/lldb/Target/ProcessLaunchInfo.h
index 93a1a9ebd239..fc715f28544d 100644
--- a/include/lldb/Target/ProcessLaunchInfo.h
+++ b/include/lldb/Target/ProcessLaunchInfo.h
@@ -117,7 +117,7 @@ public:
bool MonitorProcess() const;
- lldb_utility::PseudoTerminal &GetPTY() { return *m_pty; }
+ PseudoTerminal &GetPTY() { return *m_pty; }
// Get and set the actual listener that will be used for the process events
lldb::ListenerSP GetListener() const { return m_listener_sp; }
@@ -150,7 +150,7 @@ protected:
FileSpec m_shell;
Flags m_flags; // Bitwise OR of bits from lldb::LaunchFlags
std::vector<FileAction> m_file_actions; // File actions for any other files
- std::shared_ptr<lldb_utility::PseudoTerminal> m_pty;
+ std::shared_ptr<PseudoTerminal> m_pty;
uint32_t m_resume_count; // How many times do we resume after launching
Host::MonitorChildProcessCallback m_monitor_callback;
void *m_monitor_callback_baton;
diff --git a/include/lldb/Target/Target.h b/include/lldb/Target/Target.h
index ff9451939909..242ec14165eb 100644
--- a/include/lldb/Target/Target.h
+++ b/include/lldb/Target/Target.h
@@ -21,8 +21,9 @@
// Other libraries and framework includes
// Project includes
#include "lldb/Breakpoint/BreakpointList.h"
+#include "lldb/Breakpoint/BreakpointName.h"
#include "lldb/Breakpoint/WatchpointList.h"
-#include "lldb/Core/ArchSpec.h"
+#include "lldb/Core/Architecture.h"
#include "lldb/Core/Broadcaster.h"
#include "lldb/Core/Disassembler.h"
#include "lldb/Core/ModuleList.h"
@@ -33,6 +34,7 @@
#include "lldb/Target/PathMappingList.h"
#include "lldb/Target/ProcessLaunchInfo.h"
#include "lldb/Target/SectionLoadHistory.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/Timeout.h"
#include "lldb/lldb-public.h"
@@ -195,6 +197,8 @@ public:
void SetInjectLocalVariables(ExecutionContext *exe_ctx, bool b);
+ bool GetUseModernTypeLookup() const;
+
private:
//------------------------------------------------------------------
// Callbacks for m_launch_info.
@@ -651,12 +655,45 @@ public:
}
WatchpointList &GetWatchpointList() { return m_watchpoint_list; }
-
+
+ // Manages breakpoint names:
+ void AddNameToBreakpoint(BreakpointID &id, const char *name, Status &error);
+
+ void AddNameToBreakpoint(lldb::BreakpointSP &bp_sp, const char *name,
+ Status &error);
+
+ void RemoveNameFromBreakpoint(lldb::BreakpointSP &bp_sp,
+ const ConstString &name);
+
+ BreakpointName *FindBreakpointName(const ConstString &name, bool can_create,
+ Status &error);
+
+ void DeleteBreakpointName(const ConstString &name);
+
+ void ConfigureBreakpointName(BreakpointName &bp_name,
+ const BreakpointOptions &options,
+ const BreakpointName::Permissions &permissions);
+ void ApplyNameToBreakpoints(BreakpointName &bp_name);
+
+
+ // This takes ownership of the name obj passed in.
+ void AddBreakpointName(BreakpointName *bp_name);
+
+ void GetBreakpointNames(std::vector<std::string> &names);
+
+ //This call removes ALL breakpoints regardless of permission.
void RemoveAllBreakpoints(bool internal_also = false);
+
+ // This removes all the breakpoints, but obeys the ePermDelete on them.
+ void RemoveAllowedBreakpoints();
void DisableAllBreakpoints(bool internal_also = false);
+
+ void DisableAllowedBreakpoints();
void EnableAllBreakpoints(bool internal_also = false);
+
+ void EnableAllowedBreakpoints();
bool DisableBreakpointByID(lldb::break_id_t break_id);
@@ -881,7 +918,7 @@ public:
bool
ModuleIsExcludedForUnconstrainedSearches(const lldb::ModuleSP &module_sp);
- const ArchSpec &GetArchitecture() const { return m_arch; }
+ const ArchSpec &GetArchitecture() const { return m_arch.GetSpec(); }
//------------------------------------------------------------------
/// Set the architecture for this target.
@@ -912,6 +949,8 @@ public:
bool MergeArchitecture(const ArchSpec &arch_spec);
+ Architecture *GetArchitecturePlugin() { return m_arch.GetPlugin(); }
+
Debugger &GetDebugger() { return m_debugger; }
size_t ReadMemoryFromFileCache(const Address &addr, void *dst, size_t dst_len,
@@ -1205,6 +1244,18 @@ protected:
const lldb::ModuleSP &new_module_sp) override;
void WillClearList(const ModuleList &module_list) override;
+ class Arch {
+ public:
+ explicit Arch(const ArchSpec &spec);
+ const Arch &operator=(const ArchSpec &spec);
+
+ const ArchSpec &GetSpec() const { return m_spec; }
+ Architecture *GetPlugin() const { return m_plugin_up.get(); }
+
+ private:
+ ArchSpec m_spec;
+ std::unique_ptr<Architecture> m_plugin_up;
+ };
//------------------------------------------------------------------
// Member variables.
//------------------------------------------------------------------
@@ -1212,12 +1263,15 @@ protected:
lldb::PlatformSP m_platform_sp; ///< The platform for this target.
std::recursive_mutex m_mutex; ///< An API mutex that is used by the lldb::SB*
/// classes make the SB interface thread safe
- ArchSpec m_arch;
+ Arch m_arch;
ModuleList m_images; ///< The list of images for this process (shared
/// libraries and anything dynamically loaded).
SectionLoadHistory m_section_load_history;
BreakpointList m_breakpoint_list;
BreakpointList m_internal_breakpoint_list;
+ using BreakpointNameList = std::map<ConstString, BreakpointName *>;
+ BreakpointNameList m_breakpoint_names;
+
lldb::BreakpointSP m_last_created_breakpoint;
WatchpointList m_watchpoint_list;
lldb::WatchpointSP m_last_created_watchpoint;
diff --git a/include/lldb/Target/UnwindAssembly.h b/include/lldb/Target/UnwindAssembly.h
index 66fc27f71aa1..3028ffeaa51d 100644
--- a/include/lldb/Target/UnwindAssembly.h
+++ b/include/lldb/Target/UnwindAssembly.h
@@ -10,8 +10,8 @@
#ifndef utility_UnwindAssembly_h_
#define utility_UnwindAssembly_h_
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Core/PluginInterface.h"
+#include "lldb/Utility/ArchSpec.h"
#include "lldb/lldb-private.h"
namespace lldb_private {
diff --git a/include/lldb/Core/ArchSpec.h b/include/lldb/Utility/ArchSpec.h
index 75c7079be08d..50f69606e3df 100644
--- a/include/lldb/Core/ArchSpec.h
+++ b/include/lldb/Utility/ArchSpec.h
@@ -7,39 +7,23 @@
//
//===----------------------------------------------------------------------===//
-#ifndef liblldb_ArchSpec_h_
-#define liblldb_ArchSpec_h_
-
-#if defined(__cplusplus)
+#ifndef LLDB_UTILITY_ARCHSPEC_H
+#define LLDB_UTILITY_ARCHSPEC_H
#include "lldb/Utility/ConstString.h"
#include "lldb/lldb-enumerations.h"
+#include "lldb/lldb-forward.h"
#include "lldb/lldb-private-enumerations.h"
#include "llvm/ADT/StringRef.h" // for StringRef
#include "llvm/ADT/Triple.h"
-
-#include <string> // for string
-
-#include <stddef.h> // for size_t
-#include <stdint.h> // for uint32_t
-
-namespace lldb_private {
-class Platform;
-}
-namespace lldb_private {
-class Stream;
-}
-namespace lldb_private {
-class StringList;
-}
-namespace lldb_private {
-class Thread;
-}
+#include <cstddef> // for size_t
+#include <cstdint> // for uint32_t
+#include <string> // for string
namespace lldb_private {
//----------------------------------------------------------------------
-/// @class ArchSpec ArchSpec.h "lldb/Core/ArchSpec.h"
+/// @class ArchSpec ArchSpec.h "lldb/Utility/ArchSpec.h"
/// @brief An architecture specification class.
///
/// A class designed to be created from a cpu type and subtype, a
@@ -177,6 +161,7 @@ public:
eCore_ppc_ppc7450,
eCore_ppc_ppc970,
+ eCore_ppc64le_generic,
eCore_ppc64_generic,
eCore_ppc64_ppc970_64,
@@ -257,8 +242,6 @@ public:
};
- typedef void (*StopInfoOverrideCallbackType)(lldb_private::Thread &thread);
-
//------------------------------------------------------------------
/// Default constructor.
///
@@ -276,8 +259,6 @@ public:
explicit ArchSpec(const llvm::Triple &triple);
explicit ArchSpec(const char *triple_cstr);
explicit ArchSpec(llvm::StringRef triple_str);
- ArchSpec(const char *triple_cstr, Platform *platform);
- ArchSpec(llvm::StringRef triple_str, Platform *platform);
//------------------------------------------------------------------
/// Constructor over architecture name.
///
@@ -301,6 +282,12 @@ public:
//------------------------------------------------------------------
const ArchSpec &operator=(const ArchSpec &rhs);
+ //---------------------------------------------------------------------------
+ /// Returns true if the OS, vendor and environment fields of the triple are
+ /// unset. The triple is expected to be normalized (llvm::Triple::normalize).
+ //---------------------------------------------------------------------------
+ static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);
+
static size_t AutoComplete(llvm::StringRef name, StringList &matches);
//------------------------------------------------------------------
@@ -533,10 +520,6 @@ public:
bool SetTriple(const llvm::Triple &triple);
bool SetTriple(llvm::StringRef triple_str);
- bool SetTriple(llvm::StringRef triple_str, Platform *platform);
-
- bool SetTriple(const char *triple_cstr);
- bool SetTriple(const char *triple_cstr, Platform *platform);
//------------------------------------------------------------------
/// Returns the default endianness of the architecture.
@@ -573,34 +556,12 @@ public:
//------------------------------------------------------------------
bool IsCompatibleMatch(const ArchSpec &rhs) const;
- //------------------------------------------------------------------
- /// Get a stop info override callback for the current architecture.
- ///
- /// Most platform specific code should go in lldb_private::Platform,
- /// but there are cases where no matter which platform you are on
- /// certain things hold true.
- ///
- /// This callback is currently intended to handle cases where a
- /// program stops at an instruction that won't get executed and it
- /// allows the stop reasonm, like "breakpoint hit", to be replaced
- /// with a different stop reason like "no stop reason".
- ///
- /// This is specifically used for ARM in Thumb code when we stop in
- /// an IT instruction (if/then/else) where the instruction won't get
- /// executed and therefore it wouldn't be correct to show the program
- /// stopped at the current PC. The code is generic and applies to all
- /// ARM CPUs.
- ///
- /// @return NULL or a valid stop info override callback for the
- /// current architecture.
- //------------------------------------------------------------------
- StopInfoOverrideCallbackType GetStopInfoOverrideCallback() const;
-
bool IsFullySpecifiedTriple() const;
void PiecewiseTripleCompare(const ArchSpec &other, bool &arch_different,
bool &vendor_different, bool &os_different,
- bool &os_version_different, bool &env_different);
+ bool &os_version_different,
+ bool &env_different) const;
//------------------------------------------------------------------
/// Detect whether this architecture uses thumb code exclusively
@@ -661,5 +622,4 @@ bool ParseMachCPUDashSubtypeTriple(llvm::StringRef triple_str, ArchSpec &arch);
} // namespace lldb_private
-#endif // #if defined(__cplusplus)
-#endif // #ifndef liblldb_ArchSpec_h_
+#endif // #ifndef LLDB_UTILITY_ARCHSPEC_H
diff --git a/include/lldb/Utility/DataExtractor.h b/include/lldb/Utility/DataExtractor.h
index 4ef78c1af492..8107a3554422 100644
--- a/include/lldb/Utility/DataExtractor.h
+++ b/include/lldb/Utility/DataExtractor.h
@@ -513,10 +513,8 @@ public:
///
/// Extract a single integer value and update the offset pointed to
/// by \a offset_ptr. The size of the extracted integer is specified
- /// by the \a byte_size argument. \a byte_size should have a value
- /// >= 1 and <= 4 since the return value is only 32 bits wide. Any
- /// \a byte_size values less than 1 or greater than 4 will result in
- /// nothing being extracted, and zero being returned.
+ /// by the \a byte_size argument. \a byte_size must have a value
+ /// >= 1 and <= 4 since the return value is only 32 bits wide.
///
/// @param[in,out] offset_ptr
/// A pointer to an offset within the data that will be advanced
@@ -539,11 +537,9 @@ public:
///
/// Extract a single unsigned integer value and update the offset
/// pointed to by \a offset_ptr. The size of the extracted integer
- /// is specified by the \a byte_size argument. \a byte_size should
+ /// is specified by the \a byte_size argument. \a byte_size must
/// have a value greater than or equal to one and less than or equal
- /// to eight since the return value is 64 bits wide. Any
- /// \a byte_size values less than 1 or greater than 8 will result in
- /// nothing being extracted, and zero being returned.
+ /// to eight since the return value is 64 bits wide.
///
/// @param[in,out] offset_ptr
/// A pointer to an offset within the data that will be advanced
@@ -570,10 +566,9 @@ public:
/// Extract a single signed integer value (sign extending if required)
/// and update the offset pointed to by \a offset_ptr. The size of
/// the extracted integer is specified by the \a byte_size argument.
- /// \a byte_size should have a value greater than or equal to one
- /// and less than or equal to eight since the return value is 64
- /// bits wide. Any \a byte_size values less than 1 or greater than
- /// 8 will result in nothing being extracted, and zero being returned.
+ /// \a byte_size must have a value greater than or equal to one and
+ /// less than or equal to eight since the return value is 64 bits
+ /// wide.
///
/// @param[in,out] offset_ptr
/// A pointer to an offset within the data that will be advanced
@@ -589,7 +584,7 @@ public:
/// The sign extended signed integer value that was extracted,
/// or zero on failure.
//------------------------------------------------------------------
- int64_t GetMaxS64(lldb::offset_t *offset_ptr, size_t size) const;
+ int64_t GetMaxS64(lldb::offset_t *offset_ptr, size_t byte_size) const;
//------------------------------------------------------------------
/// Extract an unsigned integer of size \a byte_size from \a
@@ -598,11 +593,9 @@ public:
///
/// Extract a single unsigned integer value and update the offset
/// pointed to by \a offset_ptr. The size of the extracted integer
- /// is specified by the \a byte_size argument. \a byte_size should
+ /// is specified by the \a byte_size argument. \a byte_size must
/// have a value greater than or equal to one and less than or equal
- /// to 8 since the return value is 64 bits wide. Any
- /// \a byte_size values less than 1 or greater than 8 will result in
- /// nothing being extracted, and zero being returned.
+ /// to 8 since the return value is 64 bits wide.
///
/// @param[in,out] offset_ptr
/// A pointer to an offset within the data that will be advanced
@@ -641,10 +634,9 @@ public:
/// Extract a single signed integer value (sign extending if required)
/// and update the offset pointed to by \a offset_ptr. The size of
/// the extracted integer is specified by the \a byte_size argument.
- /// \a byte_size should have a value greater than or equal to one
- /// and less than or equal to eight since the return value is 64
- /// bits wide. Any \a byte_size values less than 1 or greater than
- /// 8 will result in nothing being extracted, and zero being returned.
+ /// \a byte_size must have a value greater than or equal to one and
+ /// less than or equal to eight since the return value is 64 bits
+ /// wide.
///
/// @param[in,out] offset_ptr
/// A pointer to an offset within the data that will be advanced
diff --git a/include/lldb/Utility/FileSpec.h b/include/lldb/Utility/FileSpec.h
index 67926d01e529..55d44d84087d 100644
--- a/include/lldb/Utility/FileSpec.h
+++ b/include/lldb/Utility/FileSpec.h
@@ -61,7 +61,7 @@ namespace lldb_private {
//----------------------------------------------------------------------
class FileSpec {
public:
- enum PathSyntax {
+ enum PathSyntax : unsigned char {
ePathSyntaxPosix,
ePathSyntaxWindows,
ePathSyntaxHostNative
diff --git a/include/lldb/Utility/Log.h b/include/lldb/Utility/Log.h
index d856fc81eb0d..80a80fc16485 100644
--- a/include/lldb/Utility/Log.h
+++ b/include/lldb/Utility/Log.h
@@ -96,6 +96,9 @@ public:
}
};
+
+ static void Initialize();
+
//------------------------------------------------------------------
// Static accessors for logging channels
//------------------------------------------------------------------
@@ -193,6 +196,8 @@ private:
static uint32_t GetFlags(llvm::raw_ostream &stream, const ChannelMap::value_type &entry,
llvm::ArrayRef<const char *> categories);
+ static void DisableLoggingChild();
+
Log(const Log &) = delete;
void operator=(const Log &) = delete;
};
diff --git a/include/lldb/Utility/Logging.h b/include/lldb/Utility/Logging.h
index 865097e7c194..2c75a3bf218b 100644
--- a/include/lldb/Utility/Logging.h
+++ b/include/lldb/Utility/Logging.h
@@ -62,7 +62,7 @@ Log *GetLogIfAllCategoriesSet(uint32_t mask);
Log *GetLogIfAnyCategoriesSet(uint32_t mask);
-void InitializeLog();
+void InitializeLldbChannel();
} // namespace lldb_private
diff --git a/include/lldb/Utility/SharingPtr.h b/include/lldb/Utility/SharingPtr.h
index 49b0020da3ef..41fa0c8121d8 100644
--- a/include/lldb/Utility/SharingPtr.h
+++ b/include/lldb/Utility/SharingPtr.h
@@ -529,16 +529,7 @@ public:
~IntrusiveSharingPtr() {
release_shared();
-#if defined(LLDB_CONFIGURATION_DEBUG) || defined(LLDB_CONFIGURATION_RELEASE)
- // NULL out the pointer in objects which can help with leaks detection.
- // We don't enable this for LLDB_CONFIGURATION_BUILD_AND_INTEGRATION or
- // when none of the LLDB_CONFIGURATION_XXX macros are defined since
- // those would be builds for release. But for debug and release builds
- // that are for development, we NULL out the pointers to catch potential
- // issues.
ptr_ = nullptr;
-#endif // #if defined (LLDB_CONFIGURATION_DEBUG) || defined
- // (LLDB_CONFIGURATION_RELEASE)
}
T &operator*() const { return *ptr_; }
diff --git a/include/lldb/Utility/Status.h b/include/lldb/Utility/Status.h
index d520ebd942ee..8c3e009a8c2e 100644
--- a/include/lldb/Utility/Status.h
+++ b/include/lldb/Utility/Status.h
@@ -88,19 +88,6 @@ public:
//------------------------------------------------------------------
const Status &operator=(const Status &rhs);
- //------------------------------------------------------------------
- /// Assignment operator from a kern_return_t.
- ///
- /// Sets the type to \c MachKernel and the error code to \a err.
- ///
- /// @param[in] err
- /// A mach error code.
- ///
- /// @return
- /// A const reference to this object.
- //------------------------------------------------------------------
- const Status &operator=(uint32_t err);
-
~Status();
// llvm::Error support
diff --git a/include/lldb/Utility/StringList.h b/include/lldb/Utility/StringList.h
index 2be9a6bd8346..6553e5dfdfb9 100644
--- a/include/lldb/Utility/StringList.h
+++ b/include/lldb/Utility/StringList.h
@@ -29,7 +29,7 @@ class StringList {
public:
StringList();
- StringList(const char *str);
+ explicit StringList(const char *str);
StringList(const char **strv, int strc);
diff --git a/include/lldb/Utility/UUID.h b/include/lldb/Utility/UUID.h
index 6313025dec15..5e64e9079789 100644
--- a/include/lldb/Utility/UUID.h
+++ b/include/lldb/Utility/UUID.h
@@ -46,7 +46,7 @@ public:
const void *GetBytes() const;
- size_t GetByteSize();
+ size_t GetByteSize() const;
bool IsValid() const;
diff --git a/include/lldb/lldb-enumerations.h b/include/lldb/lldb-enumerations.h
index 14bae6ca206d..760e12b0e799 100644
--- a/include/lldb/lldb-enumerations.h
+++ b/include/lldb/lldb-enumerations.h
@@ -380,7 +380,8 @@ FLAGS_ENUM(BreakpointEventType){
eBreakpointEventTypeCommandChanged = (1u << 8),
eBreakpointEventTypeConditionChanged = (1u << 9),
eBreakpointEventTypeIgnoreChanged = (1u << 10),
- eBreakpointEventTypeThreadChanged = (1u << 11)};
+ eBreakpointEventTypeThreadChanged = (1u << 11),
+ eBreakpointEventTypeAutoContinueChanged = (1u << 12)};
FLAGS_ENUM(WatchpointEventType){
eWatchpointEventTypeInvalidType = (1u << 0),
@@ -566,6 +567,7 @@ enum CommandArgumentType {
eArgTypeWatchpointIDRange,
eArgTypeWatchType,
eArgRawInput,
+ eArgTypeCommand,
eArgTypeLastArg // Always keep this entry as the last entry in this
// enumeration!!
};
@@ -626,6 +628,7 @@ enum SectionType {
eSectionTypeDWARFDebugAbbrev,
eSectionTypeDWARFDebugAddr,
eSectionTypeDWARFDebugAranges,
+ eSectionTypeDWARFDebugCuIndex,
eSectionTypeDWARFDebugFrame,
eSectionTypeDWARFDebugInfo,
eSectionTypeDWARFDebugLine,
@@ -764,8 +767,8 @@ enum TemplateArgumentKind {
eTemplateArgumentKindTemplate,
eTemplateArgumentKindTemplateExpansion,
eTemplateArgumentKindExpression,
- eTemplateArgumentKindPack
-
+ eTemplateArgumentKindPack,
+ eTemplateArgumentKindNullPtr,
};
//----------------------------------------------------------------------
@@ -931,8 +934,8 @@ enum ExpressionEvaluationPhase {
// Indicates what types of events cause the watchpoint to fire.
// Used by Native*Protocol-related classes.
//----------------------------------------------------------------------
-FLAGS_ENUM(WatchpointKind){eWatchpointKindRead = (1u << 0),
- eWatchpointKindWrite = (1u << 1)};
+FLAGS_ENUM(WatchpointKind){eWatchpointKindWrite = (1u << 0),
+ eWatchpointKindRead = (1u << 1)};
enum GdbSignal {
eGdbSignalBadAccess = 0x91,
diff --git a/include/lldb/lldb-forward.h b/include/lldb/lldb-forward.h
index 392dc641558d..a324edf9da3b 100644
--- a/include/lldb/lldb-forward.h
+++ b/include/lldb/lldb-forward.h
@@ -38,6 +38,8 @@ class BreakpointList;
class BreakpointLocation;
class BreakpointLocationCollection;
class BreakpointLocationList;
+class BreakpointName;
+class BreakpointOptionGroup;
class BreakpointOptions;
class BreakpointResolver;
class BreakpointSite;
diff --git a/include/lldb/lldb-private-defines.h b/include/lldb/lldb-private-defines.h
index 53c5f31bab8c..22172366c259 100644
--- a/include/lldb/lldb-private-defines.h
+++ b/include/lldb/lldb-private-defines.h
@@ -13,8 +13,7 @@
#if defined(__cplusplus)
// Include Compiler.h here so we don't define LLVM_FALLTHROUGH and then
-// Compiler.h
-// later tries to redefine it.
+// Compiler.h later tries to redefine it.
#include "llvm/Support/Compiler.h"
#ifndef LLVM_FALLTHROUGH
diff --git a/include/lldb/lldb-private-forward.h b/include/lldb/lldb-private-forward.h
index 296facb1a0bd..ea122525ef90 100644
--- a/include/lldb/lldb-private-forward.h
+++ b/include/lldb/lldb-private-forward.h
@@ -30,10 +30,6 @@ class UnixSignals;
// SP/WP decls.
// ---------------------------------------------------------------
typedef std::shared_ptr<NativeBreakpoint> NativeBreakpointSP;
-typedef std::shared_ptr<lldb_private::NativeRegisterContext>
- NativeRegisterContextSP;
-typedef std::shared_ptr<lldb_private::NativeThreadProtocol>
- NativeThreadProtocolSP;
}
#endif // #if defined(__cplusplus)
diff --git a/lit/CMakeLists.txt b/lit/CMakeLists.txt
index 07d490619649..5488154318a9 100644
--- a/lit/CMakeLists.txt
+++ b/lit/CMakeLists.txt
@@ -11,10 +11,6 @@ else()
set(ENABLE_SHARED 0)
endif(BUILD_SHARED_LIBS)
-option(LLDB_TEST_CLANG "Use in-tree clang when testing lldb" Off)
-set(LLDB_TEST_C_COMPILER "" CACHE STRING "C compiler to use when testing LLDB")
-set(LLDB_TEST_CXX_COMPILER "" CACHE STRING "C++ compiler to use when testing LLDB")
-
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)
@@ -26,10 +22,11 @@ configure_lit_site_cfg(
set(LLDB_TEST_DEPS
LLDBUnitTests
lldb
+ lldb-test
)
if(NOT LLDB_BUILT_STANDALONE)
- list(APPEND LLDB_TEST_DEPS FileCheck not)
+ list(APPEND LLDB_TEST_DEPS FileCheck not yaml2obj)
endif()
# lldb-server is not built on every platform.
@@ -41,10 +38,7 @@ if(APPLE)
list(APPEND LLDB_TEST_DEPS debugserver)
endif()
-if(LLDB_TEST_CLANG)
- if(LLDB_TEST_C_COMPILER OR LLDB_TEST_CXX_COMPILER)
- message(SEND_ERROR "Cannot override LLDB_TEST_<LANG>_COMPILER and set LLDB_TEST_CLANG.")
- endif()
+if(TARGET clang)
list(APPEND LLDB_TEST_DEPS clang)
endif()
@@ -61,6 +55,12 @@ add_lit_testsuite(check-lldb-lit "Running lldb lit test suite"
set_target_properties(check-lldb-lit PROPERTIES FOLDER "LLDB tests")
+# If we're building with an in-tree clang, then list clang as a dependency
+# to run tests.
+if (TARGET clang)
+ add_dependencies(check-lldb-lit clang)
+endif()
+
add_lit_testsuites(LLDB ${CMAKE_CURRENT_SOURCE_DIR}
PARAMS lldb_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
lldb_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
diff --git a/lit/Modules/compressed-sections.yaml b/lit/Modules/compressed-sections.yaml
new file mode 100644
index 000000000000..0eabd99f2d6d
--- /dev/null
+++ b/lit/Modules/compressed-sections.yaml
@@ -0,0 +1,30 @@
+# REQUIRES: zlib
+# RUN: yaml2obj %s > %t
+# RUN: lldb-test module-sections --contents %t | FileCheck %s
+--- !ELF
+FileHeader:
+ Class: ELFCLASS32
+ Data: ELFDATA2LSB
+ Type: ET_REL
+ Machine: EM_386
+Sections:
+ - Name: .hello_elf
+ Type: SHT_PROGBITS
+ Flags: [ SHF_COMPRESSED ]
+ Content: 010000000800000001000000789c5330700848286898000009c802c1
+ - Name: .bogus
+ Type: SHT_PROGBITS
+ Flags: [ SHF_COMPRESSED ]
+ Content: deadbeefbaadf00d
+
+# CHECK: Name: .hello_elf
+# CHECK-NEXT: VM size: 0
+# CHECK-NEXT: File size: 28
+# CHECK-NEXT: Data:
+# CHECK-NEXT: 20304050 60708090
+
+# CHECK: Name: .bogus
+# CHECK-NEXT: VM size: 0
+# CHECK-NEXT: File size: 8
+# CHECK-NEXT: Data:
+# CHECK-NEXT: DEADBEEF BAADF00D
diff --git a/lit/Modules/lit.local.cfg b/lit/Modules/lit.local.cfg
new file mode 100644
index 000000000000..8169b9f95e11
--- /dev/null
+++ b/lit/Modules/lit.local.cfg
@@ -0,0 +1 @@
+config.suffixes = ['.yaml']
diff --git a/lit/Unit/lit.cfg b/lit/Unit/lit.cfg
index 7dfb344e6fae..338adfd7bd9a 100644
--- a/lit/Unit/lit.cfg
+++ b/lit/Unit/lit.cfg
@@ -6,19 +6,6 @@ import os
import lit.formats
-# Check that the object root is known.
-if config.test_exec_root is None:
- # Otherwise, we haven't loaded the site specific configuration (the user is
- # probably trying to run on a test file directly, and either the site
- # configuration hasn't been created by the build system, or we are in an
- # out-of-tree build situation).
-
- # Check for 'llvm_unit_site_config' user parameter, and use that if available.
- site_cfg = lit_config.params.get('lldb_unit_site_config', None)
- if site_cfg and os.path.exists(site_cfg):
- lit_config.load_config(config, site_cfg)
- raise SystemExit
-
# name: The name of this test suite.
config.name = 'lldb-Unit'
@@ -31,6 +18,4 @@ config.test_source_root = os.path.join(config.lldb_obj_root, 'unittests')
config.test_exec_root = config.test_source_root
# testFormat: The test format to use to interpret tests.
-if not hasattr(config, 'llvm_build_mode'):
- lit_config.fatal("unable to find llvm_build_mode value on config")
config.test_format = lit.formats.GoogleTest(config.llvm_build_mode, 'Tests')
diff --git a/lit/lit.cfg b/lit/lit.cfg
index 8dea61b27169..402d03947ca8 100644
--- a/lit/lit.cfg
+++ b/lit/lit.cfg
@@ -9,6 +9,9 @@ import locale
import lit.formats
import lit.util
+def binary_feature(on, feature, off_prefix):
+ return feature if on else off_prefix + feature
+
# Configuration file for the 'lit' test runner.
# name: The name of this test suite.
@@ -29,94 +32,24 @@ config.suffixes = []
config.test_source_root = os.path.dirname(__file__)
# test_exec_root: The root path where tests should be run.
-lldb_obj_root = getattr(config, 'lldb_obj_root', None)
-if lldb_obj_root is not None:
- config.test_exec_root = os.path.join(lldb_obj_root, 'lit')
-
-# Set llvm_{src,obj}_root for use by others.
-config.llvm_src_root = getattr(config, 'llvm_src_root', None)
-config.llvm_obj_root = getattr(config, 'llvm_obj_root', None)
+config.test_exec_root = os.path.join(config.lldb_obj_root, 'lit')
# Tweak the PATH to include the tools dir and the scripts dir.
-if lldb_obj_root is not None:
- lldb_tools_dir = getattr(config, 'lldb_tools_dir', None)
- if not lldb_tools_dir:
- lit_config.fatal('No LLDB tools dir set!')
- llvm_tools_dir = getattr(config, 'llvm_tools_dir', None)
- if not llvm_tools_dir:
- lit_config.fatal('No LLVM tools dir set!')
- path = os.path.pathsep.join((lldb_tools_dir, llvm_tools_dir, config.environment['PATH']))
- path = os.path.pathsep.join((os.path.join(getattr(config, 'llvm_src_root', None),'test','Scripts'),path))
-
- config.environment['PATH'] = path
-
- lldb_libs_dir = getattr(config, 'lldb_libs_dir', None)
- if not lldb_libs_dir:
- lit_config.fatal('No LLDB libs dir set!')
- llvm_libs_dir = getattr(config, 'llvm_libs_dir', None)
- if not llvm_libs_dir:
- lit_config.fatal('No LLVM libs dir set!')
- path = os.path.pathsep.join((lldb_libs_dir, llvm_libs_dir,
- config.environment.get('LD_LIBRARY_PATH','')))
- config.environment['LD_LIBRARY_PATH'] = path
-
- # Propagate LLVM_SRC_ROOT into the environment.
- config.environment['LLVM_SRC_ROOT'] = getattr(config, 'llvm_src_root', '')
-
- # Propagate PYTHON_EXECUTABLE into the environment
- config.environment['PYTHON_EXECUTABLE'] = getattr(config, 'python_executable',
- '')
-###
-
-# Check that the object root is known.
-if config.test_exec_root is None:
- # Otherwise, we haven't loaded the site specific configuration (the user is
- # probably trying to run on a test file directly, and either the site
- # configuration hasn't been created by the build system, or we are in an
- # out-of-tree build situation).
-
- # Check for 'lldb_site_config' user parameter, and use that if available.
- site_cfg = lit_config.params.get('lldb_site_config', None)
- if site_cfg and os.path.exists(site_cfg):
- lit_config.load_config(config, site_cfg)
- raise SystemExit
-
- # Try to detect the situation where we are using an out-of-tree build by
- # looking for 'llvm-config'.
- #
- # FIXME: I debated (i.e., wrote and threw away) adding logic to
- # automagically generate the lit.site.cfg if we are in some kind of fresh
- # build situation. This means knowing how to invoke the build system though,
- # and I decided it was too much magic. We should solve this by just having
- # the .cfg files generated during the configuration step.
-
- llvm_config = lit.util.which('llvm-config', config.environment['PATH'])
- if not llvm_config:
- lit_config.fatal('No site specific configuration available!')
-
- # Get the source and object roots.
- llvm_src_root = subprocess.check_output(['llvm-config', '--src-root']).strip()
- llvm_obj_root = subprocess.check_output(['llvm-config', '--obj-root']).strip()
- lldb_src_root = os.path.join(llvm_src_root, "tools", "lldb")
- lldb_obj_root = os.path.join(llvm_obj_root, "tools", "lldb")
-
- # Validate that we got a tree which points to here, using the standard
- # tools/lldb layout.
- this_src_root = os.path.dirname(config.test_source_root)
- if os.path.realpath(lldb_src_root) != os.path.realpath(this_src_root):
- lit_config.fatal('No site specific configuration available!')
-
- # Check that the site specific configuration exists.
- site_cfg = os.path.join(lldb_obj_root, 'test', 'lit.site.cfg')
- if not os.path.exists(site_cfg):
- lit_config.fatal(
- 'No site specific configuration available! You may need to '
- 'run "make test" in your lldb build directory.')
-
- # Okay, that worked. Notify the user of the automagic, and reconfigure.
- lit_config.note('using out-of-tree build at %r' % lldb_obj_root)
- lit_config.load_config(config, site_cfg)
- raise SystemExit
+lldb_tools_dir = config.lldb_tools_dir
+llvm_tools_dir = config.llvm_tools_dir
+path = os.path.pathsep.join((config.lldb_tools_dir, config.llvm_tools_dir, config.environment['PATH']))
+
+config.environment['PATH'] = path
+
+path = os.path.pathsep.join((config.lldb_libs_dir, config.llvm_libs_dir,
+ config.environment.get('LD_LIBRARY_PATH','')))
+config.environment['LD_LIBRARY_PATH'] = path
+
+# Propagate LLVM_SRC_ROOT into the environment.
+config.environment['LLVM_SRC_ROOT'] = getattr(config, 'llvm_src_root', '')
+
+# Propagate PYTHON_EXECUTABLE into the environment
+config.environment['PYTHON_EXECUTABLE'] = getattr(config, 'python_executable', '')
# Register substitutions
config.substitutions.append(('%python', config.python_executable))
@@ -151,6 +84,8 @@ if debugserver is not None:
config.substitutions.append(('%debugserver', debugserver))
for pattern in [r"\bFileCheck\b",
+ r"\blldb-test\b",
+ r"\byaml2obj\b",
r"\| \bnot\b"]:
tool_match = re.match(r"^(\\)?((\| )?)\W+b([0-9A-Za-z-_]+)\\b\W*$",
pattern)
@@ -195,6 +130,8 @@ elif re.match(r'gcc', config.cc):
elif re.match(r'cl', config.cc):
config.available_features.add("compiler-msvc")
+config.available_features.add(binary_feature(config.have_zlib, "zlib", "no"))
+
# llvm-config knows whether it is compiled with asserts (and)
# whether we are operating in release/debug mode.
import subprocess
diff --git a/lit/lit.site.cfg.in b/lit/lit.site.cfg.in
index 03aa3df9ac55..2cfa677651a1 100644
--- a/lit/lit.site.cfg.in
+++ b/lit/lit.site.cfg.in
@@ -10,22 +10,9 @@ config.lldb_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
config.lldb_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
config.target_triple = "@TARGET_TRIPLE@"
config.python_executable = "@PYTHON_EXECUTABLE@"
-config.cc = "@CMAKE_C_COMPILER@"
-config.cxx = "@CMAKE_CXX_COMPILER@"
-
-test_c_compiler = "@LLDB_TEST_C_COMPILER@"
-test_cxx_compiler = "@LLDB_TEST_CXX_COMPILER@"
-test_clang = "@LLDB_TEST_CLANG@".lower()
-test_clang = test_clang == "on" or test_clang == "true" or test_clang == "1"
-
-if len(test_c_compiler) > 0:
- config.cc = test_c_compiler
-if len(test_c_compiler) > 0:
- config.cxx = test_cxx_compiler
-
-if test_clang:
- config.cc = 'clang'
- config.cxx = 'clang++'
+config.cc = "@LLDB_TEST_C_COMPILER@"
+config.cxx = "@LLDB_TEST_CXX_COMPILER@"
+config.have_zlib = @HAVE_LIBZ@
# Support substitution of the tools and libs dirs with user parameters. This is
# used when we can't determine the tool dir at configuration time.
diff --git a/lldb.xcodeproj/project.pbxproj b/lldb.xcodeproj/project.pbxproj
index 8353da30bd8e..d69ef3280129 100644
--- a/lldb.xcodeproj/project.pbxproj
+++ b/lldb.xcodeproj/project.pbxproj
@@ -393,7 +393,6 @@
2689002C13353E0400698AC0 /* AddressResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC7034011752C6B0086C050 /* AddressResolver.cpp */; };
2689002D13353E0400698AC0 /* AddressResolverFileLine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC7034211752C720086C050 /* AddressResolverFileLine.cpp */; };
2689002E13353E0400698AC0 /* AddressResolverName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9AC7034411752C790086C050 /* AddressResolverName.cpp */; };
- 2689002F13353E0400698AC0 /* ArchSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26BC7E6B10F1B85900F91463 /* ArchSpec.cpp */; };
2689003113353E0400698AC0 /* Broadcaster.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26BC7E6D10F1B85900F91463 /* Broadcaster.cpp */; };
2689003213353E0400698AC0 /* Communication.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26BC7E6E10F1B85900F91463 /* Communication.cpp */; };
2689003313353E0400698AC0 /* Connection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26BC7E6F10F1B85900F91463 /* Connection.cpp */; };
@@ -690,12 +689,12 @@
3FDFED2D19C257A0009756A7 /* HostProcess.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3FDFED2C19C257A0009756A7 /* HostProcess.cpp */; };
490A36C0180F0E6F00BA31F8 /* PlatformWindows.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 490A36BD180F0E6F00BA31F8 /* PlatformWindows.cpp */; };
490A966B1628C3BF00F0002E /* SBDeclaration.h in Headers */ = {isa = PBXBuildFile; fileRef = 9452573816262CEF00325455 /* SBDeclaration.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 492DB7E71EC662B100B9E9AF /* Status.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 492DB7E61EC662B100B9E9AF /* Status.h */; };
492DB7EB1EC662E200B9E9AF /* Status.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 492DB7E81EC662D100B9E9AF /* Status.cpp */; };
4939EA8D1BD56B6D00084382 /* REPL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4939EA8C1BD56B6D00084382 /* REPL.cpp */; };
494260DA14579144003C1C78 /* VerifyDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 494260D914579144003C1C78 /* VerifyDecl.cpp */; };
4959511F1A1BC4BC00F6F8FC /* ClangModulesDeclVendor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4959511E1A1BC4BC00F6F8FC /* ClangModulesDeclVendor.cpp */; };
4966DCC4148978A10028481B /* ClangExternalASTSourceCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4966DCC3148978A10028481B /* ClangExternalASTSourceCommon.cpp */; };
+ 4971D4B51F30ECFB00823171 /* SBProcessInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4987FB1E1F30EC7E00E5C17D /* SBProcessInfo.cpp */; };
4984BA131B978C55008658D4 /* ClangExpressionVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4984BA0E1B978C3E008658D4 /* ClangExpressionVariable.cpp */; };
4984BA161B979973008658D4 /* ExpressionVariable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4984BA151B979973008658D4 /* ExpressionVariable.cpp */; };
4984BA181B979C08008658D4 /* ExpressionVariable.h in Headers */ = {isa = PBXBuildFile; fileRef = 4984BA171B979C08008658D4 /* ExpressionVariable.h */; };
@@ -714,15 +713,23 @@
49E4F66B1C9CAD16008487EA /* DiagnosticManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49E4F6681C9CAD12008487EA /* DiagnosticManager.cpp */; };
49F811F31E931B2100F4E163 /* CPlusPlusNameParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 49F811EF1E931B1500F4E163 /* CPlusPlusNameParser.cpp */; };
4C0083401B9F9BA900D5CF24 /* UtilityFunction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C00833F1B9F9BA900D5CF24 /* UtilityFunction.cpp */; };
+ 4C05332B1F62121E00DED368 /* SBBreakpointOptionCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C0533291F6211FB00DED368 /* SBBreakpointOptionCommon.cpp */; };
4C2479BD1BA39295009C9A7B /* FunctionCaller.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C0083321B9A5DE200D5CF24 /* FunctionCaller.cpp */; };
4C3ADCD61810D88B00357218 /* BreakpointResolverFileRegex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4CAA56141422D986001FFA01 /* BreakpointResolverFileRegex.cpp */; };
4C4EB7811E6A4DCC002035C0 /* DumpDataExtractor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C4EB77F1E6A4DB8002035C0 /* DumpDataExtractor.cpp */; };
+ 4C54B27B1F61CE2800D469CA /* SBBreakpointName.h in Headers */ = {isa = PBXBuildFile; fileRef = 4C54B2781F61CE1200D469CA /* SBBreakpointName.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 4C54B27E1F61CE6300D469CA /* SBBreakpointName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C54B27C1F61CE5300D469CA /* SBBreakpointName.cpp */; };
4C562CC71CC07DF700C52EAC /* PDBASTParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C562CC21CC07DDD00C52EAC /* PDBASTParser.cpp */; };
4C56543119D1EFAA002E9C44 /* ThreadPlanPython.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C56543019D1EFAA002E9C44 /* ThreadPlanPython.cpp */; };
4C56543519D2297A002E9C44 /* SBThreadPlan.h in Headers */ = {isa = PBXBuildFile; fileRef = 4C56543419D2297A002E9C44 /* SBThreadPlan.h */; settings = {ATTRIBUTES = (Public, ); }; };
4C56543719D22B32002E9C44 /* SBThreadPlan.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C56543619D22B32002E9C44 /* SBThreadPlan.cpp */; };
+ 4C7D48241F5099A1005314B4 /* SymbolFileDWARFDwp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C7D481C1F509963005314B4 /* SymbolFileDWARFDwp.cpp */; };
+ 4C7D48251F5099B2005314B4 /* SymbolFileDWARFDwoDwp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C7D481F1F509964005314B4 /* SymbolFileDWARFDwoDwp.cpp */; };
+ 4C877B391F30EF990068FCFB /* SBProcessInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 4987FB201F30EC9900E5C17D /* SBProcessInfo.h */; settings = {ATTRIBUTES = (Public, ); }; };
4C88BC2A1BA3722B00AA0964 /* Expression.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C88BC291BA3722B00AA0964 /* Expression.cpp */; };
4C88BC2D1BA391B000AA0964 /* UserExpression.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C0083331B9A5DE200D5CF24 /* UserExpression.cpp */; };
+ 4CA9D1401FCE07CD00300E18 /* RegisterUtilities.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4CA9D13C1FCE07AF00300E18 /* RegisterUtilities.cpp */; };
+ 4CAA19E61F5A40040099E692 /* BreakpointName.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C7D48281F509CCD005314B4 /* BreakpointName.cpp */; };
4CABA9E0134A8BCD00539BDD /* ValueObjectMemory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4CABA9DF134A8BCD00539BDD /* ValueObjectMemory.cpp */; };
4CC7C6501D5298F30076FF94 /* OCamlLanguage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4CC7C64D1D5298E20076FF94 /* OCamlLanguage.cpp */; };
4CC7C6571D52997A0076FF94 /* OCamlASTContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4CC7C6551D52996C0076FF94 /* OCamlASTContext.cpp */; };
@@ -768,6 +775,7 @@
8C2D6A53197A1EAF006989C9 /* MemoryHistory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C2D6A52197A1EAF006989C9 /* MemoryHistory.cpp */; };
8C2D6A5E197A250F006989C9 /* MemoryHistoryASan.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C2D6A5A197A1FDC006989C9 /* MemoryHistoryASan.cpp */; };
8C3BD9961EF45DA50016C343 /* MainThreadCheckerRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C3BD9951EF45D9B0016C343 /* MainThreadCheckerRuntime.cpp */; };
+ 8C3BD9A01EF5D1FF0016C343 /* JSONTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C3BD99F1EF5D1B50016C343 /* JSONTest.cpp */; };
8CCB017E19BA28A80009FD44 /* ThreadCollection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CCB017A19BA283D0009FD44 /* ThreadCollection.cpp */; };
8CCB018219BA4E270009FD44 /* SBThreadCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CCB018119BA4E210009FD44 /* SBThreadCollection.h */; settings = {ATTRIBUTES = (Public, ); }; };
8CCB018319BA51BF0009FD44 /* SBThreadCollection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CCB017F19BA4DD00009FD44 /* SBThreadCollection.cpp */; };
@@ -868,12 +876,27 @@
966C6B7C18E6A56A0093F5EC /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 966C6B7818E6A56A0093F5EC /* libz.dylib */; };
9694FA711B32AA64005EBB16 /* ABISysV_mips.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9694FA6F1B32AA64005EBB16 /* ABISysV_mips.cpp */; };
9A0FDEA71E8EF5110086B2F5 /* RegisterContextLinux_mips.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A0FDE971E8EF5010086B2F5 /* RegisterContextLinux_mips.cpp */; };
- 9A1542F91F0EE48600DEA1D8 /* MockTildeExpressionResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A1542F51F0EE44000DEA1D8 /* MockTildeExpressionResolver.cpp */; };
- 9A1542FA1F0EE48600DEA1D8 /* TestUtilities.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A1542F71F0EE44000DEA1D8 /* TestUtilities.cpp */; };
+ 9A18903B1F47D5E600394BCA /* MockTildeExpressionResolver.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A1890321F47D5D400394BCA /* MockTildeExpressionResolver.cpp */; };
+ 9A18903C1F47D5E600394BCA /* TestUtilities.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A1890341F47D5D400394BCA /* TestUtilities.cpp */; };
9A19A6AF1163BBB200E0D453 /* SBValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A19A6A51163BB7E00E0D453 /* SBValue.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A19A6B01163BBB300E0D453 /* SBValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A19A6AD1163BB9800E0D453 /* SBValue.cpp */; };
9A1E595C1EB2B141002206A5 /* SBTrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A1E59521EB2B0B9002206A5 /* SBTrace.cpp */; };
9A1E595D1EB2B141002206A5 /* SBTraceOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A1E59531EB2B0B9002206A5 /* SBTraceOptions.cpp */; };
+ 9A2057031F3A605200F6C293 /* VASprintfTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43C41F3150D200EB767C /* VASprintfTest.cpp */; };
+ 9A2057081F3B819100F6C293 /* MemoryRegionInfoTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A2057061F3B818600F6C293 /* MemoryRegionInfoTest.cpp */; };
+ 9A20570F1F3B821A00F6C293 /* test-dwarf.cpp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9A20570D1F3B821A00F6C293 /* test-dwarf.cpp */; };
+ 9A2057101F3B821A00F6C293 /* test-dwarf.exe in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9A20570E1F3B821A00F6C293 /* test-dwarf.exe */; };
+ 9A2057121F3B824B00F6C293 /* SymbolFileDWARFTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A20570A1F3B81F300F6C293 /* SymbolFileDWARFTests.cpp */; };
+ 9A2057171F3B861400F6C293 /* TestDWARFCallFrameInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A2057131F3B860D00F6C293 /* TestDWARFCallFrameInfo.cpp */; };
+ 9A2057181F3B861400F6C293 /* TestType.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A2057141F3B860D00F6C293 /* TestType.cpp */; };
+ 9A20571C1F3B867400F6C293 /* PlatformDarwinTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A20571A1F3B866F00F6C293 /* PlatformDarwinTest.cpp */; };
+ 9A2057201F3B8D2500F6C293 /* UnixSignalsTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A20571E1F3B8D2100F6C293 /* UnixSignalsTest.cpp */; };
+ 9A2057281F3B8DDB00F6C293 /* TestELFHeader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A2057241F3B8DD200F6C293 /* TestELFHeader.cpp */; };
+ 9A2057291F3B8DDB00F6C293 /* TestObjectFileELF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A2057251F3B8DD200F6C293 /* TestObjectFileELF.cpp */; };
+ 9A20572D1F3B8E6600F6C293 /* TestCompletion.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A20572B1F3B8E6200F6C293 /* TestCompletion.cpp */; };
+ 9A2057381F3B8E7E00F6C293 /* FileSystemTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A20572E1F3B8E7600F6C293 /* FileSystemTest.cpp */; };
+ 9A2057391F3B8E7E00F6C293 /* HostTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A20572F1F3B8E7600F6C293 /* HostTest.cpp */; };
+ 9A20573A1F3B8E7E00F6C293 /* MainLoopTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A2057301F3B8E7600F6C293 /* MainLoopTest.cpp */; };
9A22A161135E30370024DDC3 /* EmulateInstructionARM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A22A15D135E30370024DDC3 /* EmulateInstructionARM.cpp */; };
9A22A163135E30370024DDC3 /* EmulationStateARM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A22A15F135E30370024DDC3 /* EmulationStateARM.cpp */; };
9A357583116CFDEE00E8ED2F /* SBValueList.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A357582116CFDEE00E8ED2F /* SBValueList.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -884,6 +907,17 @@
9A3576AA116E9AC700E8ED2F /* SBHostOS.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3576A9116E9AC700E8ED2F /* SBHostOS.cpp */; };
9A36D24D1EB3BE7F00AAD9EA /* SBTrace.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A1E59581EB2B10D002206A5 /* SBTrace.h */; settings = {ATTRIBUTES = (Public, ); }; };
9A36D24E1EB3BE7F00AAD9EA /* SBTraceOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A1E59591EB2B10D002206A5 /* SBTraceOptions.h */; settings = {ATTRIBUTES = (Public, ); }; };
+ 9A3D43D61F3151C400EB767C /* ConstStringTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43C81F3150D200EB767C /* ConstStringTest.cpp */; };
+ 9A3D43D71F3151C400EB767C /* LogTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43C71F3150D200EB767C /* LogTest.cpp */; };
+ 9A3D43D81F3151C400EB767C /* NameMatchesTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43CB1F3150D200EB767C /* NameMatchesTest.cpp */; };
+ 9A3D43D91F3151C400EB767C /* StatusTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43C61F3150D200EB767C /* StatusTest.cpp */; };
+ 9A3D43DA1F3151C400EB767C /* StructuredDataTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43CA1F3150D200EB767C /* StructuredDataTest.cpp */; };
+ 9A3D43DB1F3151C400EB767C /* TildeExpressionResolverTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43C91F3150D200EB767C /* TildeExpressionResolverTest.cpp */; };
+ 9A3D43DC1F3151C400EB767C /* TimeoutTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43CC1F3150D200EB767C /* TimeoutTest.cpp */; };
+ 9A3D43DD1F3151C400EB767C /* TimerTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43C51F3150D200EB767C /* TimerTest.cpp */; };
+ 9A3D43EC1F3237F900EB767C /* ListenerTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43E31F3237D500EB767C /* ListenerTest.cpp */; };
+ 9A3D43ED1F3237F900EB767C /* StateTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43E21F3237D500EB767C /* StateTest.cpp */; };
+ 9A3D43EE1F3237F900EB767C /* StreamCallbackTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A3D43E11F3237D500EB767C /* StreamCallbackTest.cpp */; };
9A4F35101368A51A00823F52 /* StreamAsynchronousIO.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A4F350F1368A51A00823F52 /* StreamAsynchronousIO.cpp */; };
9A77AD541E64E2760025CE04 /* RegisterInfoPOSIX_arm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9A77AD501E64E24E0025CE04 /* RegisterInfoPOSIX_arm.cpp */; };
9AC7038E117674FB0086C050 /* SBInstruction.h in Headers */ = {isa = PBXBuildFile; fileRef = 9AC7038D117674EB0086C050 /* SBInstruction.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -917,6 +951,10 @@
AF1F7B07189C904B0087DB9C /* AppleGetPendingItemsHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF1F7B05189C904B0087DB9C /* AppleGetPendingItemsHandler.cpp */; };
AF20F7661AF18F8500751A6E /* ABISysV_arm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF20F7641AF18F8500751A6E /* ABISysV_arm.cpp */; };
AF20F76A1AF18F9000751A6E /* ABISysV_arm64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF20F7681AF18F9000751A6E /* ABISysV_arm64.cpp */; };
+ AF235EB01FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF235EAE1FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.cpp */; };
+ AF235EB11FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.h in Headers */ = {isa = PBXBuildFile; fileRef = AF235EAF1FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.h */; };
+ AF235EB41FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.h in Headers */ = {isa = PBXBuildFile; fileRef = AF235EB21FBE7857009C5541 /* RegisterInfoPOSIX_ppc64le.h */; };
+ AF235EB51FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF235EB31FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.cpp */; };
AF23B4DB19009C66003E2A58 /* FreeBSDSignals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF23B4D919009C66003E2A58 /* FreeBSDSignals.cpp */; };
AF248A4D1DA71C77000B814D /* TestArm64InstEmulation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF248A4C1DA71C77000B814D /* TestArm64InstEmulation.cpp */; };
AF254E31170CCC33007AE5C9 /* PlatformDarwinKernel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF254E2F170CCC33007AE5C9 /* PlatformDarwinKernel.cpp */; };
@@ -928,6 +966,8 @@
AF2907BF1D3F082400E10654 /* DynamicLoaderMacOS.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF2907BD1D3F082400E10654 /* DynamicLoaderMacOS.cpp */; };
AF2BA6EC1A707E3400C5248A /* UriParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 33064C991A5C7A330033D415 /* UriParser.cpp */; };
AF2BCA6C18C7EFDE005B4526 /* JITLoaderGDB.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF2BCA6918C7EFDE005B4526 /* JITLoaderGDB.cpp */; };
+ AF2E02A31FA2CEAF00A86C34 /* ArchitectureArm.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF2E02A11FA2CEAF00A86C34 /* ArchitectureArm.cpp */; };
+ AF2E02A41FA2CEAF00A86C34 /* ArchitectureArm.h in Headers */ = {isa = PBXBuildFile; fileRef = AF2E02A21FA2CEAF00A86C34 /* ArchitectureArm.h */; };
AF33B4BE1C1FA441001B28D9 /* NetBSDSignals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF33B4BC1C1FA441001B28D9 /* NetBSDSignals.cpp */; };
AF33B4BF1C1FA441001B28D9 /* NetBSDSignals.h in Headers */ = {isa = PBXBuildFile; fileRef = AF33B4BD1C1FA441001B28D9 /* NetBSDSignals.h */; };
AF37E10A17C861F20061E18E /* ProcessRunLock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF37E10917C861F20061E18E /* ProcessRunLock.cpp */; };
@@ -938,6 +978,8 @@
AF45FDE518A1F3AC0007051C /* AppleGetThreadItemInfoHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF45FDE318A1F3AC0007051C /* AppleGetThreadItemInfoHandler.cpp */; };
AF6335E21C87B21E00F7D554 /* SymbolFilePDB.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF6335E01C87B21E00F7D554 /* SymbolFilePDB.cpp */; };
AF6335E31C87B21E00F7D554 /* SymbolFilePDB.h in Headers */ = {isa = PBXBuildFile; fileRef = AF6335E11C87B21E00F7D554 /* SymbolFilePDB.h */; };
+ AF6CA6661FBBAF28005A0DC3 /* ArchSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF6CA6651FBBAF27005A0DC3 /* ArchSpec.cpp */; };
+ AF6CA6681FBBAF37005A0DC3 /* ArchSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = AF6CA6671FBBAF37005A0DC3 /* ArchSpec.h */; };
AF77E08F1A033C700096C0EA /* ABISysV_ppc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF77E08D1A033C700096C0EA /* ABISysV_ppc.cpp */; };
AF77E0931A033C7F0096C0EA /* ABISysV_ppc64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF77E0911A033C7F0096C0EA /* ABISysV_ppc64.cpp */; };
AF77E0A11A033D360096C0EA /* RegisterContextFreeBSD_powerpc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF77E09A1A033D360096C0EA /* RegisterContextFreeBSD_powerpc.cpp */; };
@@ -955,7 +997,11 @@
AF90106515AB7D3600FF120D /* lldb.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = AF90106315AB7C5700FF120D /* lldb.1 */; };
AF9107EE168570D200DBCD3C /* RegisterContextDarwin_arm64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF9107EC168570D200DBCD3C /* RegisterContextDarwin_arm64.cpp */; };
AF9107EF168570D200DBCD3C /* RegisterContextDarwin_arm64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF9107EC168570D200DBCD3C /* RegisterContextDarwin_arm64.cpp */; };
+ AF9113FD1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF9113FB1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.cpp */; };
+ AF9113FE1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.h in Headers */ = {isa = PBXBuildFile; fileRef = AF9113FC1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.h */; };
AF9B8F33182DB52900DA866F /* SystemRuntimeMacOSX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF9B8F31182DB52900DA866F /* SystemRuntimeMacOSX.cpp */; };
+ AF9FF1F51FAA79A400474976 /* LibCxxTuple.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF9FF1F41FAA79A400474976 /* LibCxxTuple.cpp */; };
+ AF9FF1F71FAA79FE00474976 /* LibCxxQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AF9FF1F61FAA79FE00474976 /* LibCxxQueue.cpp */; };
AFAFD80A1E57E1B90017A14F /* ModuleCacheTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFAFD8091E57E1B90017A14F /* ModuleCacheTest.cpp */; };
AFB3D2801AC262AB003B4B30 /* MICmdCmdGdbShow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFB3D27E1AC262AB003B4B30 /* MICmdCmdGdbShow.cpp */; };
AFC234091AF85CE100CDE8B6 /* CommandObjectLanguage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFC234061AF85CE000CDE8B6 /* CommandObjectLanguage.cpp */; };
@@ -966,6 +1012,7 @@
AFC2DCF31E6E30CF00283714 /* History.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFC2DCF21E6E30CF00283714 /* History.cpp */; };
AFC2DCF61E6E316A00283714 /* StreamCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFC2DCF51E6E316A00283714 /* StreamCallback.cpp */; };
AFC2DCF91E6E318000283714 /* StreamGDBRemote.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFC2DCF81E6E318000283714 /* StreamGDBRemote.cpp */; };
+ AFC67B151FBBB03600860ECB /* LibCxxBitset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFC67B141FBBB03500860ECB /* LibCxxBitset.cpp */; };
AFCB2BBD1BF577F40018B553 /* PythonExceptionState.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFCB2BBB1BF577F40018B553 /* PythonExceptionState.cpp */; };
AFCB2BBE1BF577F40018B553 /* PythonExceptionState.h in Headers */ = {isa = PBXBuildFile; fileRef = AFCB2BBC1BF577F40018B553 /* PythonExceptionState.h */; };
AFD65C811D9B5B2E00D93120 /* RegisterContextMinidump_x86_64.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AFD65C7F1D9B5B2E00D93120 /* RegisterContextMinidump_x86_64.cpp */; };
@@ -1198,7 +1245,8 @@
dstPath = "$(DEVELOPER_INSTALL_DIR)/usr/share/man/man1";
dstSubfolderSpec = 0;
files = (
- 492DB7E71EC662B100B9E9AF /* Status.h in CopyFiles */,
+ 9A20570F1F3B821A00F6C293 /* test-dwarf.cpp in CopyFiles */,
+ 9A2057101F3B821A00F6C293 /* test-dwarf.exe in CopyFiles */,
AF90106515AB7D3600FF120D /* lldb.1 in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 1;
@@ -1288,7 +1336,6 @@
238F2BA71D2C85FA001FF92A /* StructuredDataDarwinLog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StructuredDataDarwinLog.h; sourceTree = "<group>"; };
239481851C59EBDD00DF7168 /* libncurses.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libncurses.dylib; path = ../../../../../usr/lib/libncurses.dylib; sourceTree = "<group>"; };
239504C21BDD3FD600963CEA /* gtest_common.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = gtest_common.h; sourceTree = "<group>"; };
- 239504C61BDD3FF300963CEA /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
239504D41BDD451400963CEA /* lldb-gtest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "lldb-gtest"; sourceTree = BUILT_PRODUCTS_DIR; };
23AB052D199FF639003B8084 /* FreeBSDThread.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = FreeBSDThread.cpp; sourceTree = "<group>"; };
23AB052E199FF639003B8084 /* FreeBSDThread.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FreeBSDThread.h; sourceTree = "<group>"; };
@@ -1314,8 +1361,6 @@
23CB15101D66CF6900EDDDE1 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
23CB15131D66CF8700EDDDE1 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
23CB15141D66CF8700EDDDE1 /* SymbolFilePDBTests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SymbolFilePDBTests.cpp; sourceTree = "<group>"; };
- 23CB15191D66CFAC00EDDDE1 /* test-dwarf.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "test-dwarf.cpp"; sourceTree = "<group>"; };
- 23CB151A1D66CFAC00EDDDE1 /* test-dwarf.exe */ = {isa = PBXFileReference; lastKnownFileType = file; path = "test-dwarf.exe"; sourceTree = "<group>"; };
23CB151B1D66CFAC00EDDDE1 /* test-pdb-alt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "test-pdb-alt.cpp"; sourceTree = "<group>"; };
23CB151C1D66CFAC00EDDDE1 /* test-pdb-nested.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "test-pdb-nested.h"; sourceTree = "<group>"; };
23CB151D1D66CFAC00EDDDE1 /* test-pdb-types.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "test-pdb-types.cpp"; sourceTree = "<group>"; };
@@ -1349,7 +1394,6 @@
23E2E51F1D903726006F38BB /* linux-x86_64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "linux-x86_64.cpp"; sourceTree = "<group>"; };
23E2E5201D903726006F38BB /* linux-x86_64.dmp */ = {isa = PBXFileReference; lastKnownFileType = file; path = "linux-x86_64.dmp"; sourceTree = "<group>"; };
23E2E52D1D90382B006F38BB /* BreakpointIDTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BreakpointIDTest.cpp; sourceTree = "<group>"; };
- 23E2E52E1D90382B006F38BB /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
23E2E5361D9048FB006F38BB /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
23E2E5371D9048FB006F38BB /* MinidumpParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MinidumpParser.cpp; sourceTree = "<group>"; };
23E2E5381D9048FB006F38BB /* MinidumpParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MinidumpParser.h; sourceTree = "<group>"; };
@@ -2045,7 +2089,6 @@
26BC7D2D10F1B76300F91463 /* CommandObjectThread.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommandObjectThread.h; path = source/Commands/CommandObjectThread.h; sourceTree = "<group>"; };
26BC7D5010F1B77400F91463 /* Address.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Address.h; path = include/lldb/Core/Address.h; sourceTree = "<group>"; };
26BC7D5110F1B77400F91463 /* AddressRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AddressRange.h; path = include/lldb/Core/AddressRange.h; sourceTree = "<group>"; };
- 26BC7D5210F1B77400F91463 /* ArchSpec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ArchSpec.h; path = include/lldb/Core/ArchSpec.h; sourceTree = "<group>"; };
26BC7D5310F1B77400F91463 /* Args.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Args.h; path = include/lldb/Interpreter/Args.h; sourceTree = "<group>"; };
26BC7D5410F1B77400F91463 /* Broadcaster.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Broadcaster.h; path = include/lldb/Core/Broadcaster.h; sourceTree = "<group>"; };
26BC7D5510F1B77400F91463 /* ClangForward.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ClangForward.h; path = include/lldb/Core/ClangForward.h; sourceTree = "<group>"; };
@@ -2129,7 +2172,6 @@
26BC7E4610F1B84700F91463 /* CommandObjectThread.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CommandObjectThread.cpp; path = source/Commands/CommandObjectThread.cpp; sourceTree = "<group>"; };
26BC7E6910F1B85900F91463 /* Address.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Address.cpp; path = source/Core/Address.cpp; sourceTree = "<group>"; };
26BC7E6A10F1B85900F91463 /* AddressRange.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AddressRange.cpp; path = source/Core/AddressRange.cpp; sourceTree = "<group>"; };
- 26BC7E6B10F1B85900F91463 /* ArchSpec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ArchSpec.cpp; path = source/Core/ArchSpec.cpp; sourceTree = "<group>"; };
26BC7E6C10F1B85900F91463 /* Args.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Args.cpp; path = source/Interpreter/Args.cpp; sourceTree = "<group>"; };
26BC7E6D10F1B85900F91463 /* Broadcaster.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Broadcaster.cpp; path = source/Core/Broadcaster.cpp; sourceTree = "<group>"; };
26BC7E6E10F1B85900F91463 /* Communication.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Communication.cpp; path = source/Core/Communication.cpp; sourceTree = "<group>"; };
@@ -2439,6 +2481,9 @@
4984BA0F1B978C3E008658D4 /* ClangExpressionVariable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ClangExpressionVariable.h; path = ExpressionParser/Clang/ClangExpressionVariable.h; sourceTree = "<group>"; };
4984BA151B979973008658D4 /* ExpressionVariable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ExpressionVariable.cpp; path = source/Expression/ExpressionVariable.cpp; sourceTree = "<group>"; };
4984BA171B979C08008658D4 /* ExpressionVariable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ExpressionVariable.h; path = include/lldb/Expression/ExpressionVariable.h; sourceTree = "<group>"; };
+ 4987FB1C1F30EC6000E5C17D /* SBProcessInfo.i */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c.preprocessed; path = SBProcessInfo.i; sourceTree = "<group>"; };
+ 4987FB1E1F30EC7E00E5C17D /* SBProcessInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBProcessInfo.cpp; path = source/API/SBProcessInfo.cpp; sourceTree = "<group>"; };
+ 4987FB201F30EC9900E5C17D /* SBProcessInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBProcessInfo.h; path = include/lldb/API/SBProcessInfo.h; sourceTree = "<group>"; };
499F381E11A5B3F300F5CE02 /* CommandObjectArgs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommandObjectArgs.h; path = source/Commands/CommandObjectArgs.h; sourceTree = "<group>"; };
499F381F11A5B3F300F5CE02 /* CommandObjectArgs.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CommandObjectArgs.cpp; path = source/Commands/CommandObjectArgs.cpp; sourceTree = "<group>"; };
49A1CAC11430E21D00306AC9 /* ExpressionSourceCode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ExpressionSourceCode.h; path = include/lldb/Expression/ExpressionSourceCode.h; sourceTree = "<group>"; };
@@ -2493,6 +2538,8 @@
4C00833F1B9F9BA900D5CF24 /* UtilityFunction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UtilityFunction.cpp; path = source/Expression/UtilityFunction.cpp; sourceTree = "<group>"; };
4C00986F11500B4300F316B0 /* UnixSignals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UnixSignals.h; path = include/lldb/Target/UnixSignals.h; sourceTree = "<group>"; };
4C00987011500B4300F316B0 /* UnixSignals.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UnixSignals.cpp; path = source/Target/UnixSignals.cpp; sourceTree = "<group>"; };
+ 4C0533291F6211FB00DED368 /* SBBreakpointOptionCommon.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBBreakpointOptionCommon.cpp; path = source/API/SBBreakpointOptionCommon.cpp; sourceTree = "<group>"; };
+ 4C05332C1F63092A00DED368 /* SBBreakpointName.i */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c.preprocessed; path = SBBreakpointName.i; sourceTree = "<group>"; };
4C08CDE711C81EF8001610A8 /* ThreadSpec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadSpec.cpp; path = source/Target/ThreadSpec.cpp; sourceTree = "<group>"; };
4C08CDEB11C81F1E001610A8 /* ThreadSpec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ThreadSpec.h; path = include/lldb/Target/ThreadSpec.h; sourceTree = "<group>"; };
4C09CB73116BD98B00C7A725 /* CommandCompletions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommandCompletions.h; path = include/lldb/Interpreter/CommandCompletions.h; sourceTree = "<group>"; };
@@ -2509,6 +2556,9 @@
4C43DF8A11069C3200E55CBF /* ThreadPlanStepOverRange.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadPlanStepOverRange.cpp; path = source/Target/ThreadPlanStepOverRange.cpp; sourceTree = "<group>"; };
4C4EB77F1E6A4DB8002035C0 /* DumpDataExtractor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DumpDataExtractor.cpp; path = source/Core/DumpDataExtractor.cpp; sourceTree = "<group>"; };
4C4EB7821E6A4DE7002035C0 /* DumpDataExtractor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DumpDataExtractor.h; path = include/lldb/Core/DumpDataExtractor.h; sourceTree = "<group>"; };
+ 4C54B2781F61CE1200D469CA /* SBBreakpointName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBBreakpointName.h; path = include/lldb/API/SBBreakpointName.h; sourceTree = "<group>"; };
+ 4C54B27C1F61CE5300D469CA /* SBBreakpointName.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBBreakpointName.cpp; path = source/API/SBBreakpointName.cpp; sourceTree = "<group>"; };
+ 4C54B2811F62081300D469CA /* SBBreakpointOptionCommon.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBBreakpointOptionCommon.h; path = include/lldb/API/SBBreakpointOptionCommon.h; sourceTree = "<group>"; };
4C562CC21CC07DDD00C52EAC /* PDBASTParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PDBASTParser.cpp; path = PDB/PDBASTParser.cpp; sourceTree = "<group>"; };
4C562CC31CC07DDD00C52EAC /* PDBASTParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PDBASTParser.h; path = PDB/PDBASTParser.h; sourceTree = "<group>"; };
4C56543019D1EFAA002E9C44 /* ThreadPlanPython.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadPlanPython.cpp; path = source/Target/ThreadPlanPython.cpp; sourceTree = "<group>"; };
@@ -2521,6 +2571,12 @@
4C73152119B7D71700F865A4 /* Iterable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Iterable.h; path = include/lldb/Utility/Iterable.h; sourceTree = "<group>"; };
4C7CF7E31295E10E00B4FBB5 /* ThreadPlanCallUserExpression.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ThreadPlanCallUserExpression.h; path = include/lldb/Target/ThreadPlanCallUserExpression.h; sourceTree = "<group>"; };
4C7CF7E51295E12B00B4FBB5 /* ThreadPlanCallUserExpression.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadPlanCallUserExpression.cpp; path = source/Target/ThreadPlanCallUserExpression.cpp; sourceTree = "<group>"; };
+ 4C7D481C1F509963005314B4 /* SymbolFileDWARFDwp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SymbolFileDWARFDwp.cpp; sourceTree = "<group>"; };
+ 4C7D481D1F509964005314B4 /* SymbolFileDWARFDwoDwp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SymbolFileDWARFDwoDwp.h; sourceTree = "<group>"; };
+ 4C7D481E1F509964005314B4 /* SymbolFileDWARFDwp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SymbolFileDWARFDwp.h; sourceTree = "<group>"; };
+ 4C7D481F1F509964005314B4 /* SymbolFileDWARFDwoDwp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SymbolFileDWARFDwoDwp.cpp; sourceTree = "<group>"; };
+ 4C7D48281F509CCD005314B4 /* BreakpointName.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BreakpointName.cpp; path = source/Breakpoint/BreakpointName.cpp; sourceTree = "<group>"; };
+ 4C7D482B1F509CF5005314B4 /* BreakpointName.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BreakpointName.h; path = include/lldb/Breakpoint/BreakpointName.h; sourceTree = "<group>"; };
4C88BC291BA3722B00AA0964 /* Expression.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Expression.cpp; path = source/Expression/Expression.cpp; sourceTree = "<group>"; };
4C98D3DA118FB96F00E575D0 /* ClangFunctionCaller.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ClangFunctionCaller.cpp; path = ExpressionParser/Clang/ClangFunctionCaller.cpp; sourceTree = "<group>"; };
4C98D3DB118FB96F00E575D0 /* IRExecutionUnit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IRExecutionUnit.cpp; path = source/Expression/IRExecutionUnit.cpp; sourceTree = "<group>"; };
@@ -2528,6 +2584,8 @@
4C98D3E1118FB98F00E575D0 /* IRExecutionUnit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IRExecutionUnit.h; path = include/lldb/Expression/IRExecutionUnit.h; sourceTree = "<group>"; };
4CA9637911B6E99A00780E28 /* CommandObjectApropos.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CommandObjectApropos.cpp; path = source/Commands/CommandObjectApropos.cpp; sourceTree = "<group>"; };
4CA9637A11B6E99A00780E28 /* CommandObjectApropos.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommandObjectApropos.h; path = source/Commands/CommandObjectApropos.h; sourceTree = "<group>"; };
+ 4CA9D13C1FCE07AF00300E18 /* RegisterUtilities.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RegisterUtilities.cpp; sourceTree = "<group>"; };
+ 4CA9D13D1FCE07AF00300E18 /* RegisterUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegisterUtilities.h; sourceTree = "<group>"; };
4CAA56121422D96A001FFA01 /* BreakpointResolverFileRegex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BreakpointResolverFileRegex.h; path = include/lldb/Breakpoint/BreakpointResolverFileRegex.h; sourceTree = "<group>"; };
4CAA56141422D986001FFA01 /* BreakpointResolverFileRegex.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BreakpointResolverFileRegex.cpp; path = source/Breakpoint/BreakpointResolverFileRegex.cpp; sourceTree = "<group>"; };
4CAB257C18EC9DB800BAD33E /* SafeMachO.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SafeMachO.h; path = include/lldb/Utility/SafeMachO.h; sourceTree = "<group>"; };
@@ -2541,6 +2599,7 @@
4CB443BC1249920C00C13DC2 /* CPPLanguageRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CPPLanguageRuntime.cpp; path = source/Target/CPPLanguageRuntime.cpp; sourceTree = "<group>"; };
4CB443F212499B5000C13DC2 /* ObjCLanguageRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ObjCLanguageRuntime.cpp; path = source/Target/ObjCLanguageRuntime.cpp; sourceTree = "<group>"; };
4CB443F612499B6E00C13DC2 /* ObjCLanguageRuntime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ObjCLanguageRuntime.h; path = include/lldb/Target/ObjCLanguageRuntime.h; sourceTree = "<group>"; };
+ 4CBFF0471F579A36004AFA92 /* Flags.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Flags.h; path = include/lldb/Utility/Flags.h; sourceTree = "<group>"; };
4CC2A148128C73ED001531C4 /* ThreadPlanTracer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadPlanTracer.cpp; path = source/Target/ThreadPlanTracer.cpp; sourceTree = "<group>"; };
4CC2A14C128C7409001531C4 /* ThreadPlanTracer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ThreadPlanTracer.h; path = include/lldb/Target/ThreadPlanTracer.h; sourceTree = "<group>"; };
4CC7C64C1D5298E20076FF94 /* OCamlLanguage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OCamlLanguage.h; path = Language/OCaml/OCamlLanguage.h; sourceTree = "<group>"; };
@@ -2618,8 +2677,8 @@
6D99A3621BBC2F3200979793 /* ArmUnwindInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ArmUnwindInfo.cpp; path = source/Symbol/ArmUnwindInfo.cpp; sourceTree = "<group>"; };
6D9AB3DC1BB2B74E003F2289 /* TypeMap.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TypeMap.cpp; path = source/Symbol/TypeMap.cpp; sourceTree = "<group>"; };
6D9AB3DE1BB2B76B003F2289 /* TypeMap.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TypeMap.h; path = include/lldb/Symbol/TypeMap.h; sourceTree = "<group>"; };
- 6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TaskPool.cpp; path = source/Utility/TaskPool.cpp; sourceTree = "<group>"; };
- 6DEC6F3A1BD66D950091ABA6 /* TaskPool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TaskPool.h; path = include/lldb/Utility/TaskPool.h; sourceTree = "<group>"; };
+ 6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TaskPool.cpp; path = source/Host/common/TaskPool.cpp; sourceTree = "<group>"; };
+ 6DEC6F3A1BD66D950091ABA6 /* TaskPool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TaskPool.h; path = include/lldb/Host/TaskPool.h; sourceTree = "<group>"; };
8C26C4241C3EA4340031DF7C /* TSanRuntime.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = TSanRuntime.cpp; path = TSan/TSanRuntime.cpp; sourceTree = "<group>"; };
8C26C4251C3EA4340031DF7C /* TSanRuntime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TSanRuntime.h; path = TSan/TSanRuntime.h; sourceTree = "<group>"; };
8C2D6A52197A1EAF006989C9 /* MemoryHistory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MemoryHistory.cpp; path = source/Target/MemoryHistory.cpp; sourceTree = "<group>"; };
@@ -2628,6 +2687,7 @@
8C2D6A5B197A1FDC006989C9 /* MemoryHistoryASan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MemoryHistoryASan.h; sourceTree = "<group>"; };
8C3BD9931EF45D9B0016C343 /* MainThreadCheckerRuntime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MainThreadCheckerRuntime.h; sourceTree = "<group>"; };
8C3BD9951EF45D9B0016C343 /* MainThreadCheckerRuntime.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = MainThreadCheckerRuntime.cpp; sourceTree = "<group>"; };
+ 8C3BD99F1EF5D1B50016C343 /* JSONTest.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = JSONTest.cpp; sourceTree = "<group>"; };
8CCB017A19BA283D0009FD44 /* ThreadCollection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadCollection.cpp; path = source/Target/ThreadCollection.cpp; sourceTree = "<group>"; };
8CCB017C19BA289B0009FD44 /* ThreadCollection.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ThreadCollection.h; path = include/lldb/Target/ThreadCollection.h; sourceTree = "<group>"; };
8CCB017F19BA4DD00009FD44 /* SBThreadCollection.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = SBThreadCollection.cpp; path = source/API/SBThreadCollection.cpp; sourceTree = "<group>"; };
@@ -2817,17 +2877,35 @@
9A0FDE991E8EF5010086B2F5 /* RegisterInfos_arm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfos_arm.h; path = Utility/RegisterInfos_arm.h; sourceTree = "<group>"; };
9A0FDE9A1E8EF5010086B2F5 /* RegisterInfos_arm64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfos_arm64.h; path = Utility/RegisterInfos_arm64.h; sourceTree = "<group>"; };
9A0FDE9B1E8EF5010086B2F5 /* RegisterInfos_mips.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfos_mips.h; path = Utility/RegisterInfos_mips.h; sourceTree = "<group>"; };
- 9A1542F41F0EE44000DEA1D8 /* CMakeLists.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
- 9A1542F51F0EE44000DEA1D8 /* MockTildeExpressionResolver.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = MockTildeExpressionResolver.cpp; sourceTree = "<group>"; };
- 9A1542F61F0EE44000DEA1D8 /* MockTildeExpressionResolver.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MockTildeExpressionResolver.h; sourceTree = "<group>"; };
- 9A1542F71F0EE44000DEA1D8 /* TestUtilities.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TestUtilities.cpp; sourceTree = "<group>"; };
- 9A1542F81F0EE44000DEA1D8 /* TestUtilities.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TestUtilities.h; sourceTree = "<group>"; };
+ 9A1890311F47D5D400394BCA /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = TestingSupport/CMakeLists.txt; sourceTree = "<group>"; };
+ 9A1890321F47D5D400394BCA /* MockTildeExpressionResolver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MockTildeExpressionResolver.cpp; path = TestingSupport/MockTildeExpressionResolver.cpp; sourceTree = "<group>"; };
+ 9A1890331F47D5D400394BCA /* MockTildeExpressionResolver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MockTildeExpressionResolver.h; path = TestingSupport/MockTildeExpressionResolver.h; sourceTree = "<group>"; };
+ 9A1890341F47D5D400394BCA /* TestUtilities.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TestUtilities.cpp; path = TestingSupport/TestUtilities.cpp; sourceTree = "<group>"; };
+ 9A1890351F47D5D400394BCA /* TestUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TestUtilities.h; path = TestingSupport/TestUtilities.h; sourceTree = "<group>"; };
9A19A6A51163BB7E00E0D453 /* SBValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBValue.h; path = include/lldb/API/SBValue.h; sourceTree = "<group>"; };
9A19A6AD1163BB9800E0D453 /* SBValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBValue.cpp; path = source/API/SBValue.cpp; sourceTree = "<group>"; };
9A1E59521EB2B0B9002206A5 /* SBTrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBTrace.cpp; path = source/API/SBTrace.cpp; sourceTree = "<group>"; };
9A1E59531EB2B0B9002206A5 /* SBTraceOptions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBTraceOptions.cpp; path = source/API/SBTraceOptions.cpp; sourceTree = "<group>"; };
9A1E59581EB2B10D002206A5 /* SBTrace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBTrace.h; path = include/lldb/API/SBTrace.h; sourceTree = "<group>"; };
9A1E59591EB2B10D002206A5 /* SBTraceOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBTraceOptions.h; path = include/lldb/API/SBTraceOptions.h; sourceTree = "<group>"; };
+ 9A2057061F3B818600F6C293 /* MemoryRegionInfoTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MemoryRegionInfoTest.cpp; path = Target/MemoryRegionInfoTest.cpp; sourceTree = "<group>"; };
+ 9A20570A1F3B81F300F6C293 /* SymbolFileDWARFTests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SymbolFileDWARFTests.cpp; path = DWARF/SymbolFileDWARFTests.cpp; sourceTree = "<group>"; };
+ 9A20570D1F3B821A00F6C293 /* test-dwarf.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "test-dwarf.cpp"; path = "DWARF/Inputs/test-dwarf.cpp"; sourceTree = "<group>"; };
+ 9A20570E1F3B821A00F6C293 /* test-dwarf.exe */ = {isa = PBXFileReference; lastKnownFileType = file; name = "test-dwarf.exe"; path = "DWARF/Inputs/test-dwarf.exe"; sourceTree = "<group>"; };
+ 9A2057131F3B860D00F6C293 /* TestDWARFCallFrameInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestDWARFCallFrameInfo.cpp; sourceTree = "<group>"; };
+ 9A2057141F3B860D00F6C293 /* TestType.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestType.cpp; sourceTree = "<group>"; };
+ 9A20571A1F3B866F00F6C293 /* PlatformDarwinTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PlatformDarwinTest.cpp; path = Platform/PlatformDarwinTest.cpp; sourceTree = "<group>"; };
+ 9A20571E1F3B8D2100F6C293 /* UnixSignalsTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UnixSignalsTest.cpp; path = Signals/UnixSignalsTest.cpp; sourceTree = "<group>"; };
+ 9A2057241F3B8DD200F6C293 /* TestELFHeader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TestELFHeader.cpp; path = ObjectFile/ELF/TestELFHeader.cpp; sourceTree = "<group>"; };
+ 9A2057251F3B8DD200F6C293 /* TestObjectFileELF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TestObjectFileELF.cpp; path = ObjectFile/ELF/TestObjectFileELF.cpp; sourceTree = "<group>"; };
+ 9A20572B1F3B8E6200F6C293 /* TestCompletion.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TestCompletion.cpp; sourceTree = "<group>"; };
+ 9A20572E1F3B8E7600F6C293 /* FileSystemTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileSystemTest.cpp; sourceTree = "<group>"; };
+ 9A20572F1F3B8E7600F6C293 /* HostTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HostTest.cpp; sourceTree = "<group>"; };
+ 9A2057301F3B8E7600F6C293 /* MainLoopTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MainLoopTest.cpp; sourceTree = "<group>"; };
+ 9A20573C1F3B8EA200F6C293 /* HostTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HostTest.cpp; path = linux/HostTest.cpp; sourceTree = "<group>"; };
+ 9A20573D1F3B8EA200F6C293 /* SupportTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SupportTest.cpp; path = linux/SupportTest.cpp; sourceTree = "<group>"; };
+ 9A2057441F3B905C00F6C293 /* debugserver_LogCallback.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugserver_LogCallback.cpp; path = debugserver/debugserver_LogCallback.cpp; sourceTree = "<group>"; };
+ 9A2057451F3B905C00F6C293 /* RNBSocketTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RNBSocketTest.cpp; path = debugserver/RNBSocketTest.cpp; sourceTree = "<group>"; };
9A22A15D135E30370024DDC3 /* EmulateInstructionARM.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EmulateInstructionARM.cpp; sourceTree = "<group>"; };
9A22A15E135E30370024DDC3 /* EmulateInstructionARM.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EmulateInstructionARM.h; sourceTree = "<group>"; };
9A22A15F135E30370024DDC3 /* EmulationStateARM.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EmulationStateARM.cpp; sourceTree = "<group>"; };
@@ -2840,6 +2918,19 @@
9A357672116E7B6400E8ED2F /* SBStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBStringList.cpp; path = source/API/SBStringList.cpp; sourceTree = "<group>"; };
9A3576A7116E9AB700E8ED2F /* SBHostOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBHostOS.h; path = include/lldb/API/SBHostOS.h; sourceTree = "<group>"; };
9A3576A9116E9AC700E8ED2F /* SBHostOS.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBHostOS.cpp; path = source/API/SBHostOS.cpp; sourceTree = "<group>"; };
+ 9A3D43C41F3150D200EB767C /* VASprintfTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VASprintfTest.cpp; sourceTree = "<group>"; };
+ 9A3D43C51F3150D200EB767C /* TimerTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimerTest.cpp; sourceTree = "<group>"; };
+ 9A3D43C61F3150D200EB767C /* StatusTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StatusTest.cpp; sourceTree = "<group>"; };
+ 9A3D43C71F3150D200EB767C /* LogTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LogTest.cpp; sourceTree = "<group>"; };
+ 9A3D43C81F3150D200EB767C /* ConstStringTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConstStringTest.cpp; sourceTree = "<group>"; };
+ 9A3D43C91F3150D200EB767C /* TildeExpressionResolverTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TildeExpressionResolverTest.cpp; sourceTree = "<group>"; };
+ 9A3D43CA1F3150D200EB767C /* StructuredDataTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StructuredDataTest.cpp; sourceTree = "<group>"; };
+ 9A3D43CB1F3150D200EB767C /* NameMatchesTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NameMatchesTest.cpp; sourceTree = "<group>"; };
+ 9A3D43CC1F3150D200EB767C /* TimeoutTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimeoutTest.cpp; sourceTree = "<group>"; };
+ 9A3D43DF1F31521200EB767C /* StructuredData-basic.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "StructuredData-basic.json"; sourceTree = "<group>"; };
+ 9A3D43E11F3237D500EB767C /* StreamCallbackTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StreamCallbackTest.cpp; sourceTree = "<group>"; };
+ 9A3D43E21F3237D500EB767C /* StateTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StateTest.cpp; sourceTree = "<group>"; };
+ 9A3D43E31F3237D500EB767C /* ListenerTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ListenerTest.cpp; sourceTree = "<group>"; };
9A42976111861A9F00FE05CD /* CommandObjectBreakpointCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommandObjectBreakpointCommand.h; path = source/Commands/CommandObjectBreakpointCommand.h; sourceTree = "<group>"; };
9A42976211861AA600FE05CD /* CommandObjectBreakpointCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CommandObjectBreakpointCommand.cpp; path = source/Commands/CommandObjectBreakpointCommand.cpp; sourceTree = "<group>"; };
9A4633DA11F65D8600955CE1 /* UserSettingsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UserSettingsController.h; path = include/lldb/Core/UserSettingsController.h; sourceTree = "<group>"; };
@@ -2939,6 +3030,10 @@
AF20F7681AF18F9000751A6E /* ABISysV_arm64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ABISysV_arm64.cpp; path = "SysV-arm64/ABISysV_arm64.cpp"; sourceTree = "<group>"; };
AF20F7691AF18F9000751A6E /* ABISysV_arm64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ABISysV_arm64.h; path = "SysV-arm64/ABISysV_arm64.h"; sourceTree = "<group>"; };
AF20F76C1AF18FC700751A6E /* SBLanguageRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBLanguageRuntime.cpp; path = source/API/SBLanguageRuntime.cpp; sourceTree = "<group>"; };
+ AF235EAE1FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegisterContextPOSIX_ppc64le.cpp; path = Utility/RegisterContextPOSIX_ppc64le.cpp; sourceTree = "<group>"; };
+ AF235EAF1FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextPOSIX_ppc64le.h; path = Utility/RegisterContextPOSIX_ppc64le.h; sourceTree = "<group>"; };
+ AF235EB21FBE7857009C5541 /* RegisterInfoPOSIX_ppc64le.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfoPOSIX_ppc64le.h; path = Utility/RegisterInfoPOSIX_ppc64le.h; sourceTree = "<group>"; };
+ AF235EB31FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegisterInfoPOSIX_ppc64le.cpp; path = Utility/RegisterInfoPOSIX_ppc64le.cpp; sourceTree = "<group>"; };
AF23B4D919009C66003E2A58 /* FreeBSDSignals.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = FreeBSDSignals.cpp; path = Utility/FreeBSDSignals.cpp; sourceTree = "<group>"; };
AF23B4DA19009C66003E2A58 /* FreeBSDSignals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = FreeBSDSignals.h; path = Utility/FreeBSDSignals.h; sourceTree = "<group>"; };
AF248A4C1DA71C77000B814D /* TestArm64InstEmulation.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TestArm64InstEmulation.cpp; path = UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp; sourceTree = "<group>"; };
@@ -2954,6 +3049,8 @@
AF2907BE1D3F082400E10654 /* DynamicLoaderMacOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DynamicLoaderMacOS.h; sourceTree = "<group>"; };
AF2BCA6918C7EFDE005B4526 /* JITLoaderGDB.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JITLoaderGDB.cpp; sourceTree = "<group>"; };
AF2BCA6A18C7EFDE005B4526 /* JITLoaderGDB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JITLoaderGDB.h; sourceTree = "<group>"; };
+ AF2E02A11FA2CEAF00A86C34 /* ArchitectureArm.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ArchitectureArm.cpp; sourceTree = "<group>"; };
+ AF2E02A21FA2CEAF00A86C34 /* ArchitectureArm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArchitectureArm.h; sourceTree = "<group>"; };
AF33B4BC1C1FA441001B28D9 /* NetBSDSignals.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NetBSDSignals.cpp; path = Utility/NetBSDSignals.cpp; sourceTree = "<group>"; };
AF33B4BD1C1FA441001B28D9 /* NetBSDSignals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NetBSDSignals.h; path = Utility/NetBSDSignals.h; sourceTree = "<group>"; };
AF37E10917C861F20061E18E /* ProcessRunLock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ProcessRunLock.cpp; sourceTree = "<group>"; };
@@ -2985,6 +3082,8 @@
AF68D2551255416E002FF25B /* RegisterContextLLDB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextLLDB.h; path = Utility/RegisterContextLLDB.h; sourceTree = "<group>"; };
AF68D32F1255A110002FF25B /* UnwindLLDB.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UnwindLLDB.cpp; path = Utility/UnwindLLDB.cpp; sourceTree = "<group>"; };
AF68D3301255A110002FF25B /* UnwindLLDB.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UnwindLLDB.h; path = Utility/UnwindLLDB.h; sourceTree = "<group>"; };
+ AF6CA6651FBBAF27005A0DC3 /* ArchSpec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ArchSpec.cpp; path = source/Utility/ArchSpec.cpp; sourceTree = "<group>"; };
+ AF6CA6671FBBAF37005A0DC3 /* ArchSpec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ArchSpec.h; path = include/lldb/Utility/ArchSpec.h; sourceTree = "<group>"; };
AF77E08D1A033C700096C0EA /* ABISysV_ppc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ABISysV_ppc.cpp; path = "SysV-ppc/ABISysV_ppc.cpp"; sourceTree = "<group>"; };
AF77E08E1A033C700096C0EA /* ABISysV_ppc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ABISysV_ppc.h; path = "SysV-ppc/ABISysV_ppc.h"; sourceTree = "<group>"; };
AF77E0911A033C7F0096C0EA /* ABISysV_ppc64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ABISysV_ppc64.cpp; path = "SysV-ppc64/ABISysV_ppc64.cpp"; sourceTree = "<group>"; };
@@ -3010,11 +3109,15 @@
AF90106315AB7C5700FF120D /* lldb.1 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.man; name = lldb.1; path = docs/lldb.1; sourceTree = "<group>"; };
AF9107EC168570D200DBCD3C /* RegisterContextDarwin_arm64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegisterContextDarwin_arm64.cpp; path = Utility/RegisterContextDarwin_arm64.cpp; sourceTree = "<group>"; };
AF9107ED168570D200DBCD3C /* RegisterContextDarwin_arm64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextDarwin_arm64.h; path = Utility/RegisterContextDarwin_arm64.h; sourceTree = "<group>"; };
+ AF9113FB1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RegisterContextPOSIXCore_ppc64le.cpp; sourceTree = "<group>"; };
+ AF9113FC1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegisterContextPOSIXCore_ppc64le.h; sourceTree = "<group>"; };
AF94005711C03F6500085DB9 /* SymbolVendor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SymbolVendor.cpp; path = source/Symbol/SymbolVendor.cpp; sourceTree = "<group>"; };
AF94726E1B575E430063D65C /* ValueObjectConstResultCast.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ValueObjectConstResultCast.cpp; path = source/Core/ValueObjectConstResultCast.cpp; sourceTree = "<group>"; };
AF9472701B575E5F0063D65C /* ValueObjectConstResultCast.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ValueObjectConstResultCast.h; path = include/lldb/Core/ValueObjectConstResultCast.h; sourceTree = "<group>"; };
AF9B8F31182DB52900DA866F /* SystemRuntimeMacOSX.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SystemRuntimeMacOSX.cpp; sourceTree = "<group>"; };
AF9B8F32182DB52900DA866F /* SystemRuntimeMacOSX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SystemRuntimeMacOSX.h; sourceTree = "<group>"; };
+ AF9FF1F41FAA79A400474976 /* LibCxxTuple.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = LibCxxTuple.cpp; path = Language/CPlusPlus/LibCxxTuple.cpp; sourceTree = "<group>"; };
+ AF9FF1F61FAA79FE00474976 /* LibCxxQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = LibCxxQueue.cpp; path = Language/CPlusPlus/LibCxxQueue.cpp; sourceTree = "<group>"; };
AFAFD8091E57E1B90017A14F /* ModuleCacheTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ModuleCacheTest.cpp; path = Target/ModuleCacheTest.cpp; sourceTree = "<group>"; };
AFB3D27E1AC262AB003B4B30 /* MICmdCmdGdbShow.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MICmdCmdGdbShow.cpp; path = "tools/lldb-mi/MICmdCmdGdbShow.cpp"; sourceTree = SOURCE_ROOT; };
AFB3D27F1AC262AB003B4B30 /* MICmdCmdGdbShow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MICmdCmdGdbShow.h; path = "tools/lldb-mi/MICmdCmdGdbShow.h"; sourceTree = SOURCE_ROOT; };
@@ -3034,6 +3137,7 @@
AFC2DCF71E6E316F00283714 /* StreamCallback.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = StreamCallback.h; path = include/lldb/Utility/StreamCallback.h; sourceTree = "<group>"; };
AFC2DCF81E6E318000283714 /* StreamGDBRemote.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StreamGDBRemote.cpp; path = source/Utility/StreamGDBRemote.cpp; sourceTree = "<group>"; };
AFC2DCFA1E6E318600283714 /* StreamGDBRemote.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = StreamGDBRemote.h; path = include/lldb/Utility/StreamGDBRemote.h; sourceTree = "<group>"; };
+ AFC67B141FBBB03500860ECB /* LibCxxBitset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = LibCxxBitset.cpp; path = Language/CPlusPlus/LibCxxBitset.cpp; sourceTree = "<group>"; };
AFCB2BBB1BF577F40018B553 /* PythonExceptionState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = PythonExceptionState.cpp; path = ScriptInterpreter/Python/PythonExceptionState.cpp; sourceTree = "<group>"; };
AFCB2BBC1BF577F40018B553 /* PythonExceptionState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PythonExceptionState.h; path = ScriptInterpreter/Python/PythonExceptionState.h; sourceTree = "<group>"; };
AFD65C7F1D9B5B2E00D93120 /* RegisterContextMinidump_x86_64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RegisterContextMinidump_x86_64.cpp; sourceTree = "<group>"; };
@@ -3259,17 +3363,21 @@
2321F9331BDD326500BA9A93 /* unittests */ = {
isa = PBXGroup;
children = (
+ 9A1890301F47D5BC00394BCA /* TestingSupport */,
23E2E52C1D903806006F38BB /* Breakpoint */,
- 239504C61BDD3FF300963CEA /* CMakeLists.txt */,
- 239504C21BDD3FD600963CEA /* gtest_common.h */,
23CB14E51D66CBEB00EDDDE1 /* Core */,
+ 9A2057421F3B904C00F6C293 /* debugserver */,
2326CF501BDD68CA00A5CEAC /* Editline */,
AEC6FF9D1BE97035007882C1 /* Expression */,
+ 239504C21BDD3FD600963CEA /* gtest_common.h */,
2321F9371BDD32ED00BA9A93 /* Host */,
2321F93C1BDD339A00BA9A93 /* Interpreter */,
23CB14F51D66CCB700EDDDE1 /* Language */,
+ 9A2057221F3B8DA600F6C293 /* ObjectFile */,
+ 9A2057191F3B864D00F6C293 /* Platform */,
2370A3781D66C549000E7BE6 /* Process */,
2321F93F1BDD33D800BA9A93 /* ScriptInterpreter */,
+ 9A20571D1F3B8D1100F6C293 /* Signals */,
23CB15091D66CF2B00EDDDE1 /* Symbol */,
23CB150A1D66CF3200EDDDE1 /* SymbolFile */,
AFAFD8081E57E19E0017A14F /* Target */,
@@ -3282,11 +3390,16 @@
2321F9371BDD32ED00BA9A93 /* Host */ = {
isa = PBXGroup;
children = (
+ 9A20573B1F3B8E8500F6C293 /* linux */,
+ 9A20572E1F3B8E7600F6C293 /* FileSystemTest.cpp */,
+ 9A20572F1F3B8E7600F6C293 /* HostTest.cpp */,
+ 9A2057301F3B8E7600F6C293 /* MainLoopTest.cpp */,
2321F9381BDD332400BA9A93 /* CMakeLists.txt */,
23CB14FD1D66CD2400EDDDE1 /* FileSpecTest.cpp */,
2321F9391BDD332400BA9A93 /* SocketAddressTest.cpp */,
2321F93A1BDD332400BA9A93 /* SocketTest.cpp */,
2321F93B1BDD332400BA9A93 /* SymbolsTest.cpp */,
+ 2321F9451BDD346100BA9A93 /* TaskPoolTest.cpp */,
);
path = Host;
sourceTree = "<group>";
@@ -3294,6 +3407,7 @@
2321F93C1BDD339A00BA9A93 /* Interpreter */ = {
isa = PBXGroup;
children = (
+ 9A20572B1F3B8E6200F6C293 /* TestCompletion.cpp */,
2321F93D1BDD33CE00BA9A93 /* CMakeLists.txt */,
2321F93E1BDD33CE00BA9A93 /* TestArgs.cpp */,
);
@@ -3312,11 +3426,20 @@
2321F9421BDD343A00BA9A93 /* Utility */ = {
isa = PBXGroup;
children = (
- 9A1542F31F0EE44000DEA1D8 /* Helpers */,
+ 23E2E5161D903689006F38BB /* ArchSpecTest.cpp */,
+ 9A3D43C81F3150D200EB767C /* ConstStringTest.cpp */,
+ 9A3D43C71F3150D200EB767C /* LogTest.cpp */,
+ 9A3D43CB1F3150D200EB767C /* NameMatchesTest.cpp */,
+ 9A3D43C61F3150D200EB767C /* StatusTest.cpp */,
+ 9A3D43CA1F3150D200EB767C /* StructuredDataTest.cpp */,
+ 9A3D43C91F3150D200EB767C /* TildeExpressionResolverTest.cpp */,
+ 9A3D43CC1F3150D200EB767C /* TimeoutTest.cpp */,
+ 9A3D43C51F3150D200EB767C /* TimerTest.cpp */,
+ 9A3D43C41F3150D200EB767C /* VASprintfTest.cpp */,
2321F9431BDD346100BA9A93 /* CMakeLists.txt */,
23CB15041D66CD9200EDDDE1 /* Inputs */,
2321F9441BDD346100BA9A93 /* StringExtractorTest.cpp */,
- 2321F9451BDD346100BA9A93 /* TaskPoolTest.cpp */,
+ 8C3BD99F1EF5D1B50016C343 /* JSONTest.cpp */,
2321F9461BDD346100BA9A93 /* UriParserTest.cpp */,
);
path = Utility;
@@ -3461,7 +3584,9 @@
23CB14E51D66CBEB00EDDDE1 /* Core */ = {
isa = PBXGroup;
children = (
- 23E2E5161D903689006F38BB /* ArchSpecTest.cpp */,
+ 9A3D43E31F3237D500EB767C /* ListenerTest.cpp */,
+ 9A3D43E21F3237D500EB767C /* StateTest.cpp */,
+ 9A3D43E11F3237D500EB767C /* StreamCallbackTest.cpp */,
23CB14E71D66CC0E00EDDDE1 /* CMakeLists.txt */,
23CB14E61D66CC0E00EDDDE1 /* BroadcasterTest.cpp */,
23CB14E81D66CC0E00EDDDE1 /* DataExtractorTest.cpp */,
@@ -3491,6 +3616,7 @@
23CB15041D66CD9200EDDDE1 /* Inputs */ = {
isa = PBXGroup;
children = (
+ 9A3D43DF1F31521200EB767C /* StructuredData-basic.json */,
23CB15051D66CDB400EDDDE1 /* TestModule.c */,
23CB15061D66CDB400EDDDE1 /* TestModule.so */,
);
@@ -3500,6 +3626,8 @@
23CB15091D66CF2B00EDDDE1 /* Symbol */ = {
isa = PBXGroup;
children = (
+ 9A2057131F3B860D00F6C293 /* TestDWARFCallFrameInfo.cpp */,
+ 9A2057141F3B860D00F6C293 /* TestType.cpp */,
23CB150B1D66CF5600EDDDE1 /* CMakeLists.txt */,
23CB150C1D66CF5600EDDDE1 /* TestClangASTContext.cpp */,
);
@@ -3510,6 +3638,7 @@
isa = PBXGroup;
children = (
23CB15101D66CF6900EDDDE1 /* CMakeLists.txt */,
+ 9A2057091F3B81DE00F6C293 /* DWARF */,
23CB15121D66CF6E00EDDDE1 /* PDB */,
);
path = SymbolFile;
@@ -3528,8 +3657,6 @@
23CB15181D66CF9500EDDDE1 /* Inputs */ = {
isa = PBXGroup;
children = (
- 23CB15191D66CFAC00EDDDE1 /* test-dwarf.cpp */,
- 23CB151A1D66CFAC00EDDDE1 /* test-dwarf.exe */,
23CB151B1D66CFAC00EDDDE1 /* test-pdb-alt.cpp */,
23CB151C1D66CFAC00EDDDE1 /* test-pdb-nested.h */,
23CB151D1D66CFAC00EDDDE1 /* test-pdb-types.cpp */,
@@ -3567,7 +3694,6 @@
isa = PBXGroup;
children = (
23E2E52D1D90382B006F38BB /* BreakpointIDTest.cpp */,
- 23E2E52E1D90382B006F38BB /* CMakeLists.txt */,
);
path = Breakpoint;
sourceTree = "<group>";
@@ -3595,6 +3721,7 @@
260C897110F57C5600BB2B04 /* Plugins */ = {
isa = PBXGroup;
children = (
+ AF2E029F1FA2CE8A00A86C34 /* Architecture */,
8CF02ADD19DCBEC200B14BE0 /* InstrumentationRuntime */,
8C2D6A58197A1FB9006989C9 /* MemoryHistory */,
26DB3E051379E7AD0080DC73 /* ABI */,
@@ -3806,6 +3933,10 @@
260C89DA10F57C5600BB2B04 /* SymbolFileDWARF.h */,
260C89DB10F57C5600BB2B04 /* SymbolFileDWARFDebugMap.cpp */,
260C89DC10F57C5600BB2B04 /* SymbolFileDWARFDebugMap.h */,
+ 4C7D481C1F509963005314B4 /* SymbolFileDWARFDwp.cpp */,
+ 4C7D481E1F509964005314B4 /* SymbolFileDWARFDwp.h */,
+ 4C7D481F1F509964005314B4 /* SymbolFileDWARFDwoDwp.cpp */,
+ 4C7D481D1F509964005314B4 /* SymbolFileDWARFDwoDwp.h */,
26B8B42212EEC52A00A831B2 /* UniqueDWARFASTType.h */,
26B8B42312EEC52A00A831B2 /* UniqueDWARFASTType.cpp */,
);
@@ -3847,6 +3978,7 @@
2611FEF0142D83060017FEA3 /* SBBlock.i */,
2611FEF1142D83060017FEA3 /* SBBreakpoint.i */,
2611FEF2142D83060017FEA3 /* SBBreakpointLocation.i */,
+ 4C05332C1F63092A00DED368 /* SBBreakpointName.i */,
2611FEF3142D83060017FEA3 /* SBBroadcaster.i */,
2611FEF4142D83060017FEA3 /* SBCommandInterpreter.i */,
2611FEF5142D83060017FEA3 /* SBCommandReturnObject.i */,
@@ -3876,6 +4008,7 @@
263C493B178B61CC0070F12D /* SBModuleSpec.i */,
262F12B8183546C900AEB384 /* SBPlatform.i */,
2611FF07142D83060017FEA3 /* SBProcess.i */,
+ 4987FB1C1F30EC6000E5C17D /* SBProcessInfo.i */,
AF0EBBEE1859419F0059E52F /* SBQueue.i */,
AF0EBBEF1859419F0059E52F /* SBQueueItem.i */,
2611FF08142D83060017FEA3 /* SBSection.i */,
@@ -3939,6 +4072,10 @@
9AF16A9C11402D5B007A7B3F /* SBBreakpoint.cpp */,
9AF16CC611408686007A7B3F /* SBBreakpointLocation.h */,
9AF16CC7114086A1007A7B3F /* SBBreakpointLocation.cpp */,
+ 4C54B2781F61CE1200D469CA /* SBBreakpointName.h */,
+ 4C54B27C1F61CE5300D469CA /* SBBreakpointName.cpp */,
+ 4C54B2811F62081300D469CA /* SBBreakpointOptionCommon.h */,
+ 4C0533291F6211FB00DED368 /* SBBreakpointOptionCommon.cpp */,
9A9830F31125FC5800A56CB0 /* SBBroadcaster.h */,
9A9830F21125FC5800A56CB0 /* SBBroadcaster.cpp */,
9A9830F71125FC5800A56CB0 /* SBCommandInterpreter.h */,
@@ -4001,6 +4138,8 @@
AF0EBBE7185940FB0059E52F /* SBQueueItem.cpp */,
9A9831041125FC5800A56CB0 /* SBProcess.h */,
9A9831031125FC5800A56CB0 /* SBProcess.cpp */,
+ 4987FB201F30EC9900E5C17D /* SBProcessInfo.h */,
+ 4987FB1E1F30EC7E00E5C17D /* SBProcessInfo.cpp */,
26B8283C142D01E9002DBC64 /* SBSection.h */,
26B8283F142D020F002DBC64 /* SBSection.cpp */,
9A9831061125FC5800A56CB0 /* SBSourceManager.h */,
@@ -4233,6 +4372,8 @@
2682F168115ED9C800CCFF99 /* Utility */ = {
isa = PBXGroup;
children = (
+ AF6CA6651FBBAF27005A0DC3 /* ArchSpec.cpp */,
+ AF6CA6671FBBAF37005A0DC3 /* ArchSpec.h */,
26BC7D5710F1B77400F91463 /* Connection.h */,
26BC7E6F10F1B85900F91463 /* Connection.cpp */,
26FA4315130103F400E71120 /* FileSpec.h */,
@@ -4258,6 +4399,7 @@
26BC7DD310F1B7D500F91463 /* Endian.h */,
AFC2DCE61E6E2ED000283714 /* FastDemangle.cpp */,
AFC2DCED1E6E2F9800283714 /* FastDemangle.h */,
+ 4CBFF0471F579A36004AFA92 /* Flags.h */,
AFC2DCF21E6E30CF00283714 /* History.cpp */,
AFC2DCF41E6E30D800283714 /* History.h */,
236124A61986B50E004EFC37 /* IOObject.h */,
@@ -4300,8 +4442,6 @@
AFEC3361194A8ABA00FF05C6 /* StructuredData.cpp */,
94BA8B6E176F8CA0005A91B5 /* Range.h */,
94BA8B6C176F8C9B005A91B5 /* Range.cpp */,
- 6DEC6F3A1BD66D950091ABA6 /* TaskPool.h */,
- 6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */,
AFF8FF0B1E779D4B003830EF /* TildeExpressionResolver.cpp */,
AFF8FF0D1E779D51003830EF /* TildeExpressionResolver.h */,
26BC7D7E10F1B77400F91463 /* Timer.h */,
@@ -4656,6 +4796,8 @@
26474CC518D0CB5B0073DEBA /* RegisterContextPOSIX_mips64.h */,
AF77E09D1A033D360096C0EA /* RegisterContextPOSIX_powerpc.cpp */,
AF77E09E1A033D360096C0EA /* RegisterContextPOSIX_powerpc.h */,
+ AF235EAE1FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.cpp */,
+ AF235EAF1FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.h */,
267F68551CC02EAE0086832B /* RegisterContextPOSIX_s390x.cpp */,
267F68561CC02EAE0086832B /* RegisterContextPOSIX_s390x.h */,
26474CC618D0CB5B0073DEBA /* RegisterContextPOSIX_x86.cpp */,
@@ -4667,6 +4809,8 @@
9A77AD511E64E24E0025CE04 /* RegisterInfoPOSIX_arm.h */,
237A8BAB1DEC9BBC00CEBAFF /* RegisterInfoPOSIX_arm64.cpp */,
237A8BAC1DEC9BBC00CEBAFF /* RegisterInfoPOSIX_arm64.h */,
+ AF235EB31FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.cpp */,
+ AF235EB21FBE7857009C5541 /* RegisterInfoPOSIX_ppc64le.h */,
26474CD018D0CB700073DEBA /* RegisterInfos_i386.h */,
26474CD118D0CB710073DEBA /* RegisterInfos_mips64.h */,
AF77E09F1A033D360096C0EA /* RegisterInfos_powerpc.h */,
@@ -4700,10 +4844,14 @@
26BC17A518C7F4CB00D2196D /* RegisterContextPOSIXCore_mips64.h */,
AF77E0A71A033D740096C0EA /* RegisterContextPOSIXCore_powerpc.cpp */,
AF77E0A81A033D740096C0EA /* RegisterContextPOSIXCore_powerpc.h */,
+ AF9113FB1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.cpp */,
+ AF9113FC1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.h */,
267F684D1CC02E270086832B /* RegisterContextPOSIXCore_s390x.cpp */,
267F684E1CC02E270086832B /* RegisterContextPOSIXCore_s390x.h */,
26BC17A618C7F4CB00D2196D /* RegisterContextPOSIXCore_x86_64.cpp */,
26BC17A718C7F4CB00D2196D /* RegisterContextPOSIXCore_x86_64.h */,
+ 4CA9D13C1FCE07AF00300E18 /* RegisterUtilities.cpp */,
+ 4CA9D13D1FCE07AF00300E18 /* RegisterUtilities.h */,
26BC17A818C7F4CB00D2196D /* ThreadElfCore.cpp */,
26BC17A918C7F4CB00D2196D /* ThreadElfCore.h */,
);
@@ -4736,8 +4884,6 @@
9AC7034211752C720086C050 /* AddressResolverFileLine.cpp */,
9AC7033F11752C590086C050 /* AddressResolverName.h */,
9AC7034411752C790086C050 /* AddressResolverName.cpp */,
- 26BC7D5210F1B77400F91463 /* ArchSpec.h */,
- 26BC7E6B10F1B85900F91463 /* ArchSpec.cpp */,
26BC7D5410F1B77400F91463 /* Broadcaster.h */,
26BC7E6D10F1B85900F91463 /* Broadcaster.cpp */,
26BC7D5510F1B77400F91463 /* ClangForward.h */,
@@ -4946,6 +5092,8 @@
26BC7E0F10F1B83100F91463 /* BreakpointLocationCollection.cpp */,
26BC7CF410F1B71400F91463 /* BreakpointLocationList.h */,
26BC7E1010F1B83100F91463 /* BreakpointLocationList.cpp */,
+ 4C7D48281F509CCD005314B4 /* BreakpointName.cpp */,
+ 4C7D482B1F509CF5005314B4 /* BreakpointName.h */,
26BC7CF510F1B71400F91463 /* BreakpointOptions.h */,
26BC7E1110F1B83100F91463 /* BreakpointOptions.cpp */,
26BC7CF610F1B71400F91463 /* BreakpointResolver.h */,
@@ -5133,6 +5281,8 @@
267A47F21B14115A0021A5BC /* SoftwareBreakpoint.h */,
232CB613191E00CC00EF39FC /* SoftwareBreakpoint.cpp */,
2689B0A4113EE3CD00A4AEDB /* Symbols.h */,
+ 6DEC6F3A1BD66D950091ABA6 /* TaskPool.h */,
+ 6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */,
268DA871130095D000C9483A /* Terminal.h */,
3FDFED2319BA6D55009756A7 /* ThreadLauncher.h */,
267A48031B1416080021A5BC /* XML.h */,
@@ -6076,9 +6226,12 @@
945261B51B9A11E800BF138D /* LibCxx.cpp */,
9428BC2A1C6E64DC002A24D7 /* LibCxxAtomic.h */,
9428BC291C6E64DC002A24D7 /* LibCxxAtomic.cpp */,
+ AFC67B141FBBB03500860ECB /* LibCxxBitset.cpp */,
945261B71B9A11E800BF138D /* LibCxxInitializerList.cpp */,
945261B81B9A11E800BF138D /* LibCxxList.cpp */,
945261B91B9A11E800BF138D /* LibCxxMap.cpp */,
+ AF9FF1F61FAA79FE00474976 /* LibCxxQueue.cpp */,
+ AF9FF1F41FAA79A400474976 /* LibCxxTuple.cpp */,
945261BA1B9A11E800BF138D /* LibCxxUnorderedMap.cpp */,
945261BB1B9A11E800BF138D /* LibCxxVector.cpp */,
945261BD1B9A11E800BF138D /* LibStdcpp.h */,
@@ -6224,16 +6377,85 @@
name = "SysV-mips";
sourceTree = "<group>";
};
- 9A1542F31F0EE44000DEA1D8 /* Helpers */ = {
+ 9A1890301F47D5BC00394BCA /* TestingSupport */ = {
+ isa = PBXGroup;
+ children = (
+ 9A1890311F47D5D400394BCA /* CMakeLists.txt */,
+ 9A1890321F47D5D400394BCA /* MockTildeExpressionResolver.cpp */,
+ 9A1890331F47D5D400394BCA /* MockTildeExpressionResolver.h */,
+ 9A1890341F47D5D400394BCA /* TestUtilities.cpp */,
+ 9A1890351F47D5D400394BCA /* TestUtilities.h */,
+ );
+ name = TestingSupport;
+ sourceTree = "<group>";
+ };
+ 9A2057091F3B81DE00F6C293 /* DWARF */ = {
+ isa = PBXGroup;
+ children = (
+ 9A20570A1F3B81F300F6C293 /* SymbolFileDWARFTests.cpp */,
+ 9A20570C1F3B81F800F6C293 /* Inputs */,
+ );
+ name = DWARF;
+ sourceTree = "<group>";
+ };
+ 9A20570C1F3B81F800F6C293 /* Inputs */ = {
+ isa = PBXGroup;
+ children = (
+ 9A20570D1F3B821A00F6C293 /* test-dwarf.cpp */,
+ 9A20570E1F3B821A00F6C293 /* test-dwarf.exe */,
+ );
+ name = Inputs;
+ sourceTree = "<group>";
+ };
+ 9A2057191F3B864D00F6C293 /* Platform */ = {
+ isa = PBXGroup;
+ children = (
+ 9A20571A1F3B866F00F6C293 /* PlatformDarwinTest.cpp */,
+ );
+ name = Platform;
+ sourceTree = "<group>";
+ };
+ 9A20571D1F3B8D1100F6C293 /* Signals */ = {
+ isa = PBXGroup;
+ children = (
+ 9A20571E1F3B8D2100F6C293 /* UnixSignalsTest.cpp */,
+ );
+ name = Signals;
+ sourceTree = "<group>";
+ };
+ 9A2057221F3B8DA600F6C293 /* ObjectFile */ = {
+ isa = PBXGroup;
+ children = (
+ 9A2057231F3B8DC100F6C293 /* ELF */,
+ );
+ name = ObjectFile;
+ sourceTree = "<group>";
+ };
+ 9A2057231F3B8DC100F6C293 /* ELF */ = {
+ isa = PBXGroup;
+ children = (
+ 9A2057241F3B8DD200F6C293 /* TestELFHeader.cpp */,
+ 9A2057251F3B8DD200F6C293 /* TestObjectFileELF.cpp */,
+ );
+ name = ELF;
+ sourceTree = "<group>";
+ };
+ 9A20573B1F3B8E8500F6C293 /* linux */ = {
isa = PBXGroup;
children = (
- 9A1542F41F0EE44000DEA1D8 /* CMakeLists.txt */,
- 9A1542F51F0EE44000DEA1D8 /* MockTildeExpressionResolver.cpp */,
- 9A1542F61F0EE44000DEA1D8 /* MockTildeExpressionResolver.h */,
- 9A1542F71F0EE44000DEA1D8 /* TestUtilities.cpp */,
- 9A1542F81F0EE44000DEA1D8 /* TestUtilities.h */,
+ 9A20573C1F3B8EA200F6C293 /* HostTest.cpp */,
+ 9A20573D1F3B8EA200F6C293 /* SupportTest.cpp */,
);
- path = Helpers;
+ name = linux;
+ sourceTree = "<group>";
+ };
+ 9A2057421F3B904C00F6C293 /* debugserver */ = {
+ isa = PBXGroup;
+ children = (
+ 9A2057441F3B905C00F6C293 /* debugserver_LogCallback.cpp */,
+ 9A2057451F3B905C00F6C293 /* RNBSocketTest.cpp */,
+ );
+ name = debugserver;
sourceTree = "<group>";
};
AE44FB371BB35A2E0033EB62 /* Go */ = {
@@ -6364,6 +6586,23 @@
path = GDB;
sourceTree = "<group>";
};
+ AF2E029F1FA2CE8A00A86C34 /* Architecture */ = {
+ isa = PBXGroup;
+ children = (
+ AF2E02A01FA2CE9900A86C34 /* Arm */,
+ );
+ path = Architecture;
+ sourceTree = "<group>";
+ };
+ AF2E02A01FA2CE9900A86C34 /* Arm */ = {
+ isa = PBXGroup;
+ children = (
+ AF2E02A11FA2CEAF00A86C34 /* ArchitectureArm.cpp */,
+ AF2E02A21FA2CEAF00A86C34 /* ArchitectureArm.h */,
+ );
+ path = Arm;
+ sourceTree = "<group>";
+ };
AF6335DF1C87B20A00F7D554 /* PDB */ = {
isa = PBXGroup;
children = (
@@ -6396,6 +6635,7 @@
AFAFD8081E57E19E0017A14F /* Target */ = {
isa = PBXGroup;
children = (
+ 9A2057061F3B818600F6C293 /* MemoryRegionInfoTest.cpp */,
AFAFD8091E57E1B90017A14F /* ModuleCacheTest.cpp */,
);
name = Target;
@@ -6473,6 +6713,7 @@
8CCB018219BA4E270009FD44 /* SBThreadCollection.h in Headers */,
9A36D24D1EB3BE7F00AAD9EA /* SBTrace.h in Headers */,
AF0EBBEC185941360059E52F /* SBQueue.h in Headers */,
+ 4C877B391F30EF990068FCFB /* SBProcessInfo.h in Headers */,
26680222115FD13D008E1FE4 /* SBError.h in Headers */,
26680223115FD13D008E1FE4 /* SBEvent.h in Headers */,
AFDCDBCB19DD0F42005EA55E /* SBExecutionContext.h in Headers */,
@@ -6496,6 +6737,7 @@
26C72C94124322890068DC16 /* SBStream.h in Headers */,
9A357671116E7B5200E8ED2F /* SBStringList.h in Headers */,
26DE205B11618FF600A093E2 /* SBSymbol.h in Headers */,
+ 4C54B27B1F61CE2800D469CA /* SBBreakpointName.h in Headers */,
262F12B71835469C00AEB384 /* SBPlatform.h in Headers */,
23DCBEA31D63E71F0084C36B /* SBStructuredData.h in Headers */,
26DE204111618AB900A093E2 /* SBSymbolContext.h in Headers */,
@@ -6530,10 +6772,15 @@
AF8AD6381BEC28C400150209 /* PlatformRemoteAppleTV.h in Headers */,
26EFB61C1BFE8D3E00544801 /* PlatformNetBSD.h in Headers */,
AF3A4AD31EA05C4700B5DEB4 /* PlatformRemoteDarwinDevice.h in Headers */,
+ AF9113FE1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.h in Headers */,
AF33B4BF1C1FA441001B28D9 /* NetBSDSignals.h in Headers */,
AF6335E31C87B21E00F7D554 /* SymbolFilePDB.h in Headers */,
+ AF6CA6681FBBAF37005A0DC3 /* ArchSpec.h in Headers */,
+ AF235EB41FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.h in Headers */,
+ AF2E02A41FA2CEAF00A86C34 /* ArchitectureArm.h in Headers */,
267F685A1CC02EBE0086832B /* RegisterInfos_s390x.h in Headers */,
267F68541CC02E920086832B /* RegisterContextLinux_s390x.h in Headers */,
+ AF235EB11FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.h in Headers */,
267F68501CC02E270086832B /* RegisterContextPOSIXCore_s390x.h in Headers */,
4984BA181B979C08008658D4 /* ExpressionVariable.h in Headers */,
26C7C4841BFFEA7E009BD01F /* WindowsMiniDump.h in Headers */,
@@ -6918,6 +7165,7 @@
);
name = "Prepare Swig Bindings";
outputPaths = (
+ "$(BUILT_PRODUCTS_DIR)/LLDBWrapPython.cpp",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
@@ -7013,32 +7261,57 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 9A3D43D91F3151C400EB767C /* StatusTest.cpp in Sources */,
23CB15331D66DA9300EDDDE1 /* GoParserTest.cpp in Sources */,
+ 9A2057281F3B8DDB00F6C293 /* TestELFHeader.cpp in Sources */,
23CB15341D66DA9300EDDDE1 /* CPlusPlusLanguageTest.cpp in Sources */,
+ 9A2057381F3B8E7E00F6C293 /* FileSystemTest.cpp in Sources */,
+ 9A2057201F3B8D2500F6C293 /* UnixSignalsTest.cpp in Sources */,
AFAFD80A1E57E1B90017A14F /* ModuleCacheTest.cpp in Sources */,
+ 9A3D43DA1F3151C400EB767C /* StructuredDataTest.cpp in Sources */,
+ 9A2057121F3B824B00F6C293 /* SymbolFileDWARFTests.cpp in Sources */,
+ 9A20573A1F3B8E7E00F6C293 /* MainLoopTest.cpp in Sources */,
23CB15351D66DA9300EDDDE1 /* UriParserTest.cpp in Sources */,
+ 8C3BD9A01EF5D1FF0016C343 /* JSONTest.cpp in Sources */,
23CB15361D66DA9300EDDDE1 /* FileSpecTest.cpp in Sources */,
23E2E5251D90373D006F38BB /* ArchSpecTest.cpp in Sources */,
+ 9A2057081F3B819100F6C293 /* MemoryRegionInfoTest.cpp in Sources */,
+ 9A20572D1F3B8E6600F6C293 /* TestCompletion.cpp in Sources */,
AF248A4D1DA71C77000B814D /* TestArm64InstEmulation.cpp in Sources */,
23CB15371D66DA9300EDDDE1 /* PythonTestSuite.cpp in Sources */,
23E2E5321D903832006F38BB /* BreakpointIDTest.cpp in Sources */,
23CB15381D66DA9300EDDDE1 /* PythonExceptionStateTests.cpp in Sources */,
- 9A1542F91F0EE48600DEA1D8 /* MockTildeExpressionResolver.cpp in Sources */,
+ 9A3D43D81F3151C400EB767C /* NameMatchesTest.cpp in Sources */,
23CB15391D66DA9300EDDDE1 /* DataExtractorTest.cpp in Sources */,
+ 9A3D43ED1F3237F900EB767C /* StateTest.cpp in Sources */,
23CB153A1D66DA9300EDDDE1 /* GDBRemoteClientBaseTest.cpp in Sources */,
23CB153B1D66DA9300EDDDE1 /* SocketTest.cpp in Sources */,
23CB153C1D66DA9300EDDDE1 /* TestArgs.cpp in Sources */,
+ 9A3D43DB1F3151C400EB767C /* TildeExpressionResolverTest.cpp in Sources */,
+ 9A2057291F3B8DDB00F6C293 /* TestObjectFileELF.cpp in Sources */,
23CB153D1D66DA9300EDDDE1 /* GDBRemoteCommunicationClientTest.cpp in Sources */,
23CB153E1D66DA9300EDDDE1 /* PythonDataObjectsTests.cpp in Sources */,
- 9A1542FA1F0EE48600DEA1D8 /* TestUtilities.cpp in Sources */,
+ 9A3D43D71F3151C400EB767C /* LogTest.cpp in Sources */,
+ 9A2057181F3B861400F6C293 /* TestType.cpp in Sources */,
+ 9A2057171F3B861400F6C293 /* TestDWARFCallFrameInfo.cpp in Sources */,
+ 9A3D43EC1F3237F900EB767C /* ListenerTest.cpp in Sources */,
+ 9A3D43DC1F3151C400EB767C /* TimeoutTest.cpp in Sources */,
+ 9A3D43D61F3151C400EB767C /* ConstStringTest.cpp in Sources */,
+ 9A20571C1F3B867400F6C293 /* PlatformDarwinTest.cpp in Sources */,
23CB153F1D66DA9300EDDDE1 /* SymbolsTest.cpp in Sources */,
AFEC5FD81D94F9380076A480 /* Testx86AssemblyInspectionEngine.cpp in Sources */,
23CB15401D66DA9300EDDDE1 /* TestClangASTContext.cpp in Sources */,
23CB15411D66DA9300EDDDE1 /* StringExtractorTest.cpp in Sources */,
+ 9A2057031F3A605200F6C293 /* VASprintfTest.cpp in Sources */,
+ 9A18903C1F47D5E600394BCA /* TestUtilities.cpp in Sources */,
23CB15421D66DA9300EDDDE1 /* TaskPoolTest.cpp in Sources */,
23CB15431D66DA9300EDDDE1 /* BroadcasterTest.cpp in Sources */,
+ 9A3D43EE1F3237F900EB767C /* StreamCallbackTest.cpp in Sources */,
+ 9A18903B1F47D5E600394BCA /* MockTildeExpressionResolver.cpp in Sources */,
23CB15441D66DA9300EDDDE1 /* ScalarTest.cpp in Sources */,
+ 9A2057391F3B8E7E00F6C293 /* HostTest.cpp in Sources */,
23CB15451D66DA9300EDDDE1 /* SocketAddressTest.cpp in Sources */,
+ 9A3D43DD1F3151C400EB767C /* TimerTest.cpp in Sources */,
23CB15461D66DA9300EDDDE1 /* GDBRemoteTestUtils.cpp in Sources */,
23E2E5271D903782006F38BB /* MinidumpParserTest.cpp in Sources */,
23CB15471D66DA9300EDDDE1 /* EditlineTest.cpp in Sources */,
@@ -7068,12 +7341,14 @@
26680326116005DB008E1FE4 /* SBTarget.cpp in Sources */,
23DCBEA21D63E7190084C36B /* SBStructuredData.cpp in Sources */,
26680327116005DC008E1FE4 /* SBSourceManager.cpp in Sources */,
+ 4971D4B51F30ECFB00823171 /* SBProcessInfo.cpp in Sources */,
3F81692C1ABB7A1E001DA9DF /* SystemInitializerFull.cpp in Sources */,
26680328116005DE008E1FE4 /* SBProcess.cpp in Sources */,
2668032A116005E0008E1FE4 /* SBListener.cpp in Sources */,
2668032C116005E2008E1FE4 /* SBFrame.cpp in Sources */,
2668032D116005E3008E1FE4 /* SBFileSpec.cpp in Sources */,
2668032E116005E5008E1FE4 /* SBEvent.cpp in Sources */,
+ 4C54B27E1F61CE6300D469CA /* SBBreakpointName.cpp in Sources */,
2668032F116005E6008E1FE4 /* SBError.cpp in Sources */,
23DCEA461D1C4D0F00A602B4 /* SBMemoryRegionInfo.cpp in Sources */,
26680330116005E7008E1FE4 /* SBDebugger.cpp in Sources */,
@@ -7097,6 +7372,7 @@
26DE20651161904E00A093E2 /* SBSymbol.cpp in Sources */,
9A19A6B01163BBB300E0D453 /* SBValue.cpp in Sources */,
261744781168585B005ADD65 /* SBType.cpp in Sources */,
+ 4C05332B1F62121E00DED368 /* SBBreakpointOptionCommon.cpp in Sources */,
9A35758E116CFE0F00E8ED2F /* SBValueList.cpp in Sources */,
9A357673116E7B6400E8ED2F /* SBStringList.cpp in Sources */,
9A1E595C1EB2B141002206A5 /* SBTrace.cpp in Sources */,
@@ -7160,6 +7436,7 @@
2689000513353DB600698AC0 /* BreakpointResolverName.cpp in Sources */,
6D762BEE1B1605D2006C929D /* LLDBServerUtilities.cpp in Sources */,
2689000713353DB600698AC0 /* BreakpointSite.cpp in Sources */,
+ AF235EB01FBE77B6009C5541 /* RegisterContextPOSIX_ppc64le.cpp in Sources */,
2689000913353DB600698AC0 /* BreakpointSiteList.cpp in Sources */,
26474CC918D0CB5B0073DEBA /* RegisterContextMemory.cpp in Sources */,
8CF02AEA19DCC02100B14BE0 /* ASanRuntime.cpp in Sources */,
@@ -7209,6 +7486,7 @@
6D0F614E1C80AB0700A4ECEE /* JavaLanguageRuntime.cpp in Sources */,
2666ADC61B3CB675001FAFD3 /* DynamicLoaderHexagonDYLD.cpp in Sources */,
3F8169331ABB7A6D001DA9DF /* SystemLifetimeManager.cpp in Sources */,
+ AF2E02A31FA2CEAF00A86C34 /* ArchitectureArm.cpp in Sources */,
4959511F1A1BC4BC00F6F8FC /* ClangModulesDeclVendor.cpp in Sources */,
26BC179918C7F2B300D2196D /* JITLoader.cpp in Sources */,
4CC7C6571D52997A0076FF94 /* OCamlASTContext.cpp in Sources */,
@@ -7226,7 +7504,6 @@
949EEDB11BA7672D008C63CF /* NSDictionary.cpp in Sources */,
2689002D13353E0400698AC0 /* AddressResolverFileLine.cpp in Sources */,
2689002E13353E0400698AC0 /* AddressResolverName.cpp in Sources */,
- 2689002F13353E0400698AC0 /* ArchSpec.cpp in Sources */,
250D6AE31A9679440049CC70 /* FileSystem.cpp in Sources */,
2689003113353E0400698AC0 /* Broadcaster.cpp in Sources */,
49DCF702170E70120092F75E /* Materializer.cpp in Sources */,
@@ -7322,6 +7599,7 @@
304B2E461CAAA57B007829FE /* ClangUtil.cpp in Sources */,
2689006E13353E1A00698AC0 /* File.cpp in Sources */,
2689006F13353E1A00698AC0 /* FileSpec.cpp in Sources */,
+ AF6CA6661FBBAF28005A0DC3 /* ArchSpec.cpp in Sources */,
2689007113353E1A00698AC0 /* Host.cpp in Sources */,
2635879417822FC2004C30BA /* SymbolVendorELF.cpp in Sources */,
25420ED21A649D88009ADBCB /* PipeBase.cpp in Sources */,
@@ -7337,6 +7615,7 @@
9A0FDEA71E8EF5110086B2F5 /* RegisterContextLinux_mips.cpp in Sources */,
94BA8B70176F97CE005A91B5 /* CommandHistory.cpp in Sources */,
2689007713353E1A00698AC0 /* CFCData.cpp in Sources */,
+ AFC67B151FBBB03600860ECB /* LibCxxBitset.cpp in Sources */,
2689007813353E1A00698AC0 /* CFCMutableArray.cpp in Sources */,
9418EBCD1AA910910058B02E /* VectorType.cpp in Sources */,
4C4EB7811E6A4DCC002035C0 /* DumpDataExtractor.cpp in Sources */,
@@ -7392,6 +7671,7 @@
9694FA711B32AA64005EBB16 /* ABISysV_mips.cpp in Sources */,
2689009F13353E4200698AC0 /* ProcessGDBRemote.cpp in Sources */,
268900A013353E4200698AC0 /* ProcessGDBRemoteLog.cpp in Sources */,
+ AF9FF1F71FAA79FE00474976 /* LibCxxQueue.cpp in Sources */,
268900A113353E4200698AC0 /* ThreadGDBRemote.cpp in Sources */,
AEEA34051AC88A7400AB639D /* TypeSystem.cpp in Sources */,
AF1729D6182C907200E0AB97 /* HistoryThread.cpp in Sources */,
@@ -7437,6 +7717,7 @@
947CF7771DC7B20D00EF980B /* ThreadMinidump.cpp in Sources */,
268900C913353E5F00698AC0 /* NameToDIE.cpp in Sources */,
268900CA13353E5F00698AC0 /* SymbolFileDWARF.cpp in Sources */,
+ 4CAA19E61F5A40040099E692 /* BreakpointName.cpp in Sources */,
268900CB13353E5F00698AC0 /* LogChannelDWARF.cpp in Sources */,
268900CC13353E5F00698AC0 /* SymbolFileDWARFDebugMap.cpp in Sources */,
268900CD13353E5F00698AC0 /* UniqueDWARFASTType.cpp in Sources */,
@@ -7467,6 +7748,7 @@
268900DC13353E6F00698AC0 /* ObjectFile.cpp in Sources */,
268900DD13353E6F00698AC0 /* Symbol.cpp in Sources */,
AF26703A1852D01E00B6CC36 /* Queue.cpp in Sources */,
+ 4C7D48241F5099A1005314B4 /* SymbolFileDWARFDwp.cpp in Sources */,
949EEDAE1BA7671C008C63CF /* CF.cpp in Sources */,
268900DE13353E6F00698AC0 /* SymbolContext.cpp in Sources */,
49CA97001E6AACC900C03FEE /* UUID.cpp in Sources */,
@@ -7523,6 +7805,7 @@
268900FD13353E6F00698AC0 /* ThreadPlanCallFunction.cpp in Sources */,
23D4007D1C2101F2000C3885 /* DWARFDebugMacro.cpp in Sources */,
94B6385D1B8FB178004FE1E4 /* CPlusPlusLanguage.cpp in Sources */,
+ AF9FF1F51FAA79A400474976 /* LibCxxTuple.cpp in Sources */,
268900FE13353E6F00698AC0 /* ThreadPlanCallUserExpression.cpp in Sources */,
268900FF13353E6F00698AC0 /* ThreadPlanShouldStopHere.cpp in Sources */,
2579065F1BD0488D00178368 /* DomainSocket.cpp in Sources */,
@@ -7540,6 +7823,8 @@
2689010413353E6F00698AC0 /* ThreadPlanStepInRange.cpp in Sources */,
2689010513353E6F00698AC0 /* ThreadPlanStepOverRange.cpp in Sources */,
3FDFE56D19AF9C44009756A7 /* HostThreadPosix.cpp in Sources */,
+ 4CA9D1401FCE07CD00300E18 /* RegisterUtilities.cpp in Sources */,
+ AF235EB51FBE7858009C5541 /* RegisterInfoPOSIX_ppc64le.cpp in Sources */,
2689010613353E6F00698AC0 /* ThreadPlanRunToAddress.cpp in Sources */,
2689010713353E6F00698AC0 /* ThreadPlanStepThrough.cpp in Sources */,
2689010813353E6F00698AC0 /* ThreadPlanStepUntil.cpp in Sources */,
@@ -7648,6 +7933,7 @@
26957D9C13D381C900670048 /* RegisterContextDarwin_x86_64.cpp in Sources */,
94CD7D0919A3FBA300908B7C /* AppleObjCClassDescriptorV2.cpp in Sources */,
945261C31B9A11FC00BF138D /* LibCxxMap.cpp in Sources */,
+ 4C7D48251F5099B2005314B4 /* SymbolFileDWARFDwoDwp.cpp in Sources */,
265205A813D3E3F700132FE2 /* RegisterContextKDP_arm.cpp in Sources */,
265205AA13D3E3F700132FE2 /* RegisterContextKDP_i386.cpp in Sources */,
6DEC6F391BD66D750091ABA6 /* TaskPool.cpp in Sources */,
@@ -7659,6 +7945,7 @@
267A47FF1B1411D90021A5BC /* NativeWatchpointList.cpp in Sources */,
26F4A21C13FBA31A0064B613 /* ThreadMemory.cpp in Sources */,
3FBA69E11B6067120008F44A /* ScriptInterpreterNone.cpp in Sources */,
+ AF9113FD1FBE78EA004320CD /* RegisterContextPOSIXCore_ppc64le.cpp in Sources */,
266DFE9713FD656E00D0C574 /* OperatingSystem.cpp in Sources */,
AF8AD6391BEC28C400150209 /* PlatformRemoteAppleWatch.cpp in Sources */,
26954EBE1401EE8B00294D09 /* DynamicRegisterInfo.cpp in Sources */,
@@ -8278,7 +8565,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8320,7 +8607,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8362,7 +8649,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8404,7 +8691,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8446,7 +8733,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -DYAML2OBJ=\"\\\"$(LLVM_BUILD_DIR)/x86_64/bin/yaml2obj\\\"\" -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8488,7 +8775,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -DYAML2OBJ=\"\\\"$(LLVM_BUILD_DIR)/x86_64/bin/yaml2obj\\\"\" -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8530,7 +8817,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -DYAML2OBJ=\"\\\"$(LLVM_BUILD_DIR)/x86_64/bin/yaml2obj\\\"\" -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
@@ -8572,7 +8859,7 @@
"$(LLVM_SOURCE_DIR)/tools/clang/include",
"$(LLVM_BUILD_DIR)/$(LLVM_BUILD_DIR_ARCH)/tools/clang/include",
);
- LLDB_GTESTS_CFLAGS = "-I ${SOURCE_ROOT} -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
+ LLDB_GTESTS_CFLAGS = "-I unittests -I $(LLVM_SOURCE_DIR)/utils/unittest/googlemock/include -I $(LLVM_SOURCE_DIR)/utils/unittest/googletest/include -I $(LLVM_SOURCE_DIR)/include -I $(LLVM_BUILD_DIR)/x86_64/include -DYAML2OBJ=\"\\\"$(LLVM_BUILD_DIR)/x86_64/bin/yaml2obj\\\"\" -I include -I source -I $(PYTHON_FRAMEWORK_PATH)/Headers";
LLDB_GTESTS_LDFLAGS = "$(LLVM_BUILD_DIR)/x86_64/lib/libgtest.a -L $(PYTHON_FRAMEWORK_PATH)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib -l python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)";
OTHER_CFLAGS = (
"-fno-rtti",
diff --git a/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme b/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme
index 881829e27feb..82a97dfbe24f 100644
--- a/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme
+++ b/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme
@@ -54,6 +54,7 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
displayScaleIsEnabled = "NO"
displayScale = "1.00"
+ enableThreadSanitizer = "YES"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
diff --git a/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme b/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme
index d8fa52cd63dc..352ef7194155 100644
--- a/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme
+++ b/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme
@@ -42,9 +42,10 @@
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
displayScaleIsEnabled = "NO"
displayScale = "1.00"
+ enableThreadSanitizer = "YES"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
diff --git a/lldb.xcodeproj/xcshareddata/xcschemes/desktop.xcscheme b/lldb.xcodeproj/xcshareddata/xcschemes/desktop.xcscheme
index 17aedff2ce52..7512a2813577 100644
--- a/lldb.xcodeproj/xcshareddata/xcschemes/desktop.xcscheme
+++ b/lldb.xcodeproj/xcshareddata/xcschemes/desktop.xcscheme
@@ -26,6 +26,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
@@ -36,6 +37,7 @@
buildConfiguration = "DebugClang"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+ language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
diff --git a/packages/Python/lldbsuite/test/arm/breakpoint-it/Makefile b/packages/Python/lldbsuite/test/arm/breakpoint-it/Makefile
new file mode 100644
index 000000000000..5d2224cb6560
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm/breakpoint-it/Makefile
@@ -0,0 +1,6 @@
+LEVEL = ../../make
+
+C_SOURCES := main.c
+CFLAGS_EXTRAS = -mthumb
+
+include $(LEVEL)/Makefile.rules
diff --git a/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py b/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py
new file mode 100644
index 000000000000..1abab39b1da3
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py
@@ -0,0 +1,45 @@
+"""
+Test that breakpoints in an IT instruction don't fire if their condition is
+false.
+"""
+from __future__ import print_function
+
+
+import lldb
+import os
+import time
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class TestBreakpointIt(TestBase):
+
+ mydir = TestBase.compute_mydir(__file__)
+ NO_DEBUG_INFO_TESTCASE = True
+
+ @skipIf(archs=no_match(["arm"]))
+ def test_false(self):
+ self.build()
+ exe = os.path.join(os.getcwd(), "a.out")
+
+ self.runCmd("target create %s" % exe)
+ lldbutil.run_break_set_by_symbol(self, "bkpt_false",
+ extra_options="--skip-prologue 0")
+
+ self.runCmd("run")
+ self.assertEqual(self.process().GetState(), lldb.eStateExited,
+ "Breakpoint does not get hit")
+
+ @skipIf(archs=no_match(["arm"]))
+ def test_true(self):
+ self.build()
+ exe = os.path.join(os.getcwd(), "a.out")
+
+ self.runCmd("target create %s" % exe)
+ bpid = lldbutil.run_break_set_by_symbol(self, "bkpt_true",
+ extra_options="--skip-prologue 0")
+
+ self.runCmd("run")
+ self.assertIsNotNone(lldbutil.get_one_thread_stopped_at_breakpoint_id(
+ self.process(), bpid))
diff --git a/packages/Python/lldbsuite/test/arm/breakpoint-it/main.c b/packages/Python/lldbsuite/test/arm/breakpoint-it/main.c
new file mode 100644
index 000000000000..35d57bb1b843
--- /dev/null
+++ b/packages/Python/lldbsuite/test/arm/breakpoint-it/main.c
@@ -0,0 +1,14 @@
+int main() {
+ int value;
+ asm (
+ "cmp %1, %2\n\t"
+ "ite ne\n\t"
+ ".thumb_func\n\t"
+ "bkpt_true:\n\t"
+ "movne %0, %1\n\t"
+ ".thumb_func\n\t"
+ "bkpt_false:\n\t"
+ "moveq %0, %2\n\t"
+ : "=r" (value) : "r"(42), "r"(47));
+ return value;
+}
diff --git a/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py b/packages/Python/lldbsuite/test/arm/emulation/TestEmulations.py
index 4ddda525537c..4ddda525537c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/TestEmulations.py
+++ b/packages/Python/lldbsuite/test/arm/emulation/TestEmulations.py
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-1-arm.dat
index 64b2506f9d56..64b2506f9d56 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-1-thumb.dat
index daa32d25a41a..daa32d25a41a 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-10-thumb.dat
index bb3d760219b4..bb3d760219b4 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-10-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-10-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-11-thumb.dat
index e26f2218cbcd..e26f2218cbcd 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-11-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-11-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-12-thumb.dat
index a7f7344e7d97..a7f7344e7d97 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-12-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-12-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-2-arm.dat
index cf6e0a9779a9..cf6e0a9779a9 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-2-thumb.dat
index 9a178a0a159d..9a178a0a159d 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-3-arm.dat
index 9fc44b79395c..9fc44b79395c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-3-thumb.dat
index c8f96ec09d3e..c8f96ec09d3e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-4-arm.dat
index 12b40ed76fce..12b40ed76fce 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-4-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-4-thumb.dat
index 922b8ecdba53..922b8ecdba53 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-4-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-4-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-5-arm.dat
index dfb6a87f014d..dfb6a87f014d 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-5-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-5-thumb.dat
index 16ff517436b0..16ff517436b0 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-5-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-5-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-6-arm.dat
index 8a87eff5f002..8a87eff5f002 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-6-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-6-thumb.dat
index e8abd6950f20..e8abd6950f20 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-6-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-6-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-7-arm.dat
index 312514246e3e..312514246e3e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-7-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-7-thumb.dat
index 506071309d7c..506071309d7c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-7-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-7-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-8-arm.dat
index 44a400f5287a..44a400f5287a 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-8-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-8-thumb.dat
index 8bc6c789a51d..8bc6c789a51d 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-8-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-8-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-9-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-9-thumb.dat
index 832af4cf0b48..832af4cf0b48 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-add-9-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-add-9-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-bic-1-arm.dat
index c1cd4f15ab3e..c1cd4f15ab3e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-bic-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-bic-1-thumb.dat
index c62422650182..c62422650182 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-bic-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-bic-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-1-arm.dat
index e1922d9edb9a..e1922d9edb9a 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-1-thumb.dat
index 60a805e09d83..60a805e09d83 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-2-arm.dat
index 99401bbd2e21..99401bbd2e21 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-2-thumb.dat
index 39ecf947c6de..39ecf947c6de 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-3-arm.dat
index 427d7b27485c..427d7b27485c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-3-thumb.dat
index 9738073c038e..9738073c038e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldmia-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldmia-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-1-arm.dat
index 307402fd2f5c..307402fd2f5c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-1-thumb.dat
index 471669b0cb65..471669b0cb65 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-10-thumb.dat
index bc7693c9a684..bc7693c9a684 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-10-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-10-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-11-thumb.dat
index b5bf18127cd6..b5bf18127cd6 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-11-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-11-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-12-thumb.dat
index 5c3a5485f0b3..5c3a5485f0b3 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-12-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-12-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-2-arm.dat
index 068297e3edce..068297e3edce 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-2-thumb.dat
index 27727831d6d5..27727831d6d5 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-3-arm.dat
index f0d6d8aaba63..f0d6d8aaba63 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-3-thumb.dat
index 012e1c53e663..012e1c53e663 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-4-arm.dat
index e2d2aa6aa887..e2d2aa6aa887 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-4-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-4-thumb.dat
index 3eb6f167b488..3eb6f167b488 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-4-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-4-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-5-arm.dat
index 45210d9600d9..45210d9600d9 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-5-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-5-thumb.dat
index 45289e7e899c..45289e7e899c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-5-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-5-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-6-arm.dat
index 0f379fd49809..0f379fd49809 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-6-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-6-thumb.dat
index 5b3c119e7437..5b3c119e7437 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-6-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-6-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-7-arm.dat
index ff425ef5284f..ff425ef5284f 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-7-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-7-thumb.dat
index db8d58796ca8..db8d58796ca8 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-7-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-7-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-8-arm.dat
index c11dfc133e5b..c11dfc133e5b 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-8-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-8-thumb.dat
index 01d7013ceaaa..01d7013ceaaa 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-8-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-8-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-9-thumb.dat
index cc3c4db2f4de..cc3c4db2f4de 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldr-9-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldr-9-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-1-arm.dat
index 970f8aa7c0a4..970f8aa7c0a4 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-1-thumb.dat
index 7ab41ce35dbe..7ab41ce35dbe 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-2-thumb.dat
index 70fe6f5cfff7..70fe6f5cfff7 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrd-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrd-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrh-1-thumb.dat
index 2a47002fb658..2a47002fb658 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrh-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrh-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrsh-1-arm.dat
index cecf397f1d49..cecf397f1d49 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrsh-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrsh-2-arm.dat
index 660b3d3b5db7..660b3d3b5db7 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-ldrsh-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-ldrsh-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-1-arm.dat
index 232bc967fede..232bc967fede 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-1-thumb.dat
index 569510dbd3ba..569510dbd3ba 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-10-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-10-thumb.dat
index 6bf9b0d7ef7e..6bf9b0d7ef7e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-10-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-10-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-11-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-11-thumb.dat
index 82043ef335b1..82043ef335b1 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-11-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-11-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-12-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-12-thumb.dat
index 1fce18af917c..1fce18af917c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-12-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-12-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-13-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-13-thumb.dat
index d1c1a4428c9f..d1c1a4428c9f 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-13-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-13-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-14-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-14-thumb.dat
index dfd89c265fbd..dfd89c265fbd 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-14-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-14-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-15-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-15-thumb.dat
index 0ff8e5d7dc5c..0ff8e5d7dc5c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-15-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-15-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-16-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-16-thumb.dat
index 1baf42dfc56c..1baf42dfc56c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-16-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-16-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-17-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-17-thumb.dat
index 70cee03fb54f..70cee03fb54f 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-17-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-17-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-18-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-18-thumb.dat
index 1893e188b0d0..1893e188b0d0 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-18-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-18-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-19-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-19-thumb.dat
index 238e16b4aa42..238e16b4aa42 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-19-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-19-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-2-arm.dat
index 6d6c0cbf80c5..6d6c0cbf80c5 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-2-thumb.dat
index ad6854427fbf..ad6854427fbf 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-20-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-20-thumb.dat
index 15ecd2ebfa0a..15ecd2ebfa0a 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-20-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-20-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-21-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-21-thumb.dat
index 6a38f1671b7c..6a38f1671b7c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-21-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-21-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-22-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-22-thumb.dat
index 242b56824194..242b56824194 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-22-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-22-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-23-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-23-thumb.dat
index 7f57440a8421..7f57440a8421 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-23-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-23-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-24-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-24-thumb.dat
index 9a1756e8473b..9a1756e8473b 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-24-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-24-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-25-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-25-thumb.dat
index c2fd6a739644..c2fd6a739644 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-25-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-25-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-26-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-26-thumb.dat
index 2cc155d8071c..2cc155d8071c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-26-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-26-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-27-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-27-thumb.dat
index 0b35377b08ee..0b35377b08ee 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-27-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-27-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-28-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-28-thumb.dat
index f7d7778a2512..f7d7778a2512 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-28-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-28-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-29-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-29-thumb.dat
index 5e9098f99d2f..5e9098f99d2f 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-29-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-29-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-3-arm.dat
index 1fe7155bd3a3..1fe7155bd3a3 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-3-thumb.dat
index 8ce129682bf9..8ce129682bf9 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-30-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-30-thumb.dat
index a0dddad6b5a1..a0dddad6b5a1 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-30-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-30-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-31-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-31-thumb.dat
index 20d8dc7c06f6..20d8dc7c06f6 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-31-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-31-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-4-arm.dat
index 8ef83b268055..8ef83b268055 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-4-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-4-thumb.dat
index f854ba26641e..f854ba26641e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-4-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-4-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-5-arm.dat
index ee85779083f6..ee85779083f6 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-5-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-5-thumb.dat
index d6140bdb92d7..d6140bdb92d7 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-5-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-5-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-6-arm.dat
index 863a6d3e9bd8..863a6d3e9bd8 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-6-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-6-thumb.dat
index fac96bf5a5a8..fac96bf5a5a8 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-6-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-6-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-7-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-7-thumb.dat
index c537d30cb249..c537d30cb249 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-7-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-7-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-8-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-8-thumb.dat
index b724c79a0d56..b724c79a0d56 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-8-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-8-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-9-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-9-thumb.dat
index ccf7ea6c3423..ccf7ea6c3423 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mov-9-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mov-9-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-moveq-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-moveq-1-arm.dat
index f46b1bfd6e87..f46b1bfd6e87 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-moveq-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-moveq-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-movs-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-movs-1-arm.dat
index 38292508d43c..38292508d43c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-movs-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-movs-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-1-arm.dat
index 024dd9fa4bcb..024dd9fa4bcb 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-1-thumb.dat
index c5c385c8522d..c5c385c8522d 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-2-arm.dat
index 10df542fcad5..10df542fcad5 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-2-thumb.dat
index 3c2f6f4da279..3c2f6f4da279 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-3-arm.dat
index 742708978b6d..742708978b6d 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-3-thumb.dat
index ff4ca7331a9f..ff4ca7331a9f 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-4-arm.dat
index 4efc18cc5f28..4efc18cc5f28 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-4-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-4-thumb.dat
index f8b1569e9063..f8b1569e9063 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-mvn-4-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-mvn-4-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-1-arm.dat
index 07163f80aeb6..07163f80aeb6 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-1-thumb.dat
index fad6765be9a8..fad6765be9a8 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-2-arm.dat
index 4b6ae43ca285..4b6ae43ca285 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-2-thumb.dat
index 9f3efe57e9d2..9f3efe57e9d2 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-3-thumb.dat
index a2adc418c4a5..a2adc418c4a5 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-pop-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-pop-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-1-arm.dat
index b2f6e0965ab9..b2f6e0965ab9 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-1-thumb.dat
index 6f5b29ed1990..6f5b29ed1990 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-2-arm.dat
index 6f1f4389e80e..6f1f4389e80e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-2-thumb.dat
index 23e4df446bf4..23e4df446bf4 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-3-arm.dat
index 06847a5ff3ba..06847a5ff3ba 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-3-thumb.dat
index e3330f537cb6..e3330f537cb6 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-push-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-push-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-1-arm.dat
index 70a5be3cb69c..70a5be3cb69c 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-1-thumb.dat
index 3559652ce6c1..3559652ce6c1 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-2-arm.dat
index 3d77724b4f96..3d77724b4f96 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-2-thumb.dat
index 73e8cd3e548e..73e8cd3e548e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-3-arm.dat
index 97c90a0050c3..97c90a0050c3 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-3-thumb.dat
index 8e891c042879..8e891c042879 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-4-arm.dat
index ed3b54eaf38a..ed3b54eaf38a 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-4-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-4-thumb.dat
index ec9e2dc1e549..ec9e2dc1e549 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-4-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-4-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-5-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-5-arm.dat
index 98b8dfb16b37..98b8dfb16b37 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-str-5-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-str-5-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strb-1-arm.dat
index 2f7320d007ad..2f7320d007ad 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strb-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strb-2-arm.dat
index 495c8e720a11..495c8e720a11 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strb-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strb-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strbt-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strbt-1-arm.dat
index 494c49af9527..494c49af9527 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strbt-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strbt-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strd-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strd-1-thumb.dat
index 4876f8741b0e..4876f8741b0e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strd-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strd-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strt-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strt-1-arm.dat
index 9fc311565eaa..9fc311565eaa 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-strt-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-strt-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-1-arm.dat
index 98c435d616a5..98c435d616a5 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-1-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-1-thumb.dat
index 482480d0cd43..482480d0cd43 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-1-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-1-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-10-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-10-arm.dat
index 9f07a947f7db..9f07a947f7db 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-10-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-10-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-2-arm.dat
index 9a67268196e2..9a67268196e2 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-2-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-2-thumb.dat
index 11d213803e2e..11d213803e2e 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-2-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-2-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-3-arm.dat
index 4dfe680ce470..4dfe680ce470 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-3-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-3-thumb.dat
index a017f5284302..a017f5284302 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-3-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-3-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-4-arm.dat
index 50d13c994755..50d13c994755 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-4-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-4-thumb.dat
index 214808d6a429..214808d6a429 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-4-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-4-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-5-arm.dat
index 58de27b5d4e2..58de27b5d4e2 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-arm.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-5-arm.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-thumb.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-5-thumb.dat
index 126882866859..126882866859 100644
--- a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-5-thumb.dat
+++ b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-5-thumb.dat
diff --git a/packages/Python/lldbsuite/test/arm_emulation/new-test-files/test-sub-6-arm.dat b/packages/Python/lldbsuite/test/arm/emulation/new-test-files/test-sub-6-arm.dat
index be6891307dbe..be6891307dbe 100644
--- a/