Commit 4697e701 authored by Jonas Devlieghere's avatar Jonas Devlieghere
Browse files

Partially revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging"

This temporarily and partially reverts 3ec28da6 because it's missing
a directory.
parent a3738414
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -105,7 +105,6 @@ class MyResponder(MockGDBServerResponder):
            file.close()
        return result


class TestWasm(GDBRemoteTestBase):

    def setUp(self):
@@ -116,6 +115,7 @@ class TestWasm(GDBRemoteTestBase):
        lldb.DBG.SetSelectedPlatform(self._initial_platform)
        super(TestWasm, self).tearDown()

    @expectedFailureAll
    def test_load_module_with_embedded_symbols_from_remote(self):
        """Test connecting to a WebAssembly engine via GDB-remote and loading a Wasm module with embedded DWARF symbols"""

@@ -158,6 +158,7 @@ class TestWasm(GDBRemoteTestBase):
        self.assertEquals(load_address | debug_line_section.GetFileOffset(), debug_line_section.GetLoadAddress(target))


    @expectedFailureAll
    def test_load_module_with_stripped_symbols_from_remote(self):
        """Test connecting to a WebAssembly engine via GDB-remote and loading a Wasm module with symbols stripped into a separate Wasm file"""

@@ -213,6 +214,7 @@ class TestWasm(GDBRemoteTestBase):
        self.assertEquals(LLDB_INVALID_ADDRESS, debug_line_section.GetLoadAddress(target))


    @expectedFailureAll
    def test_load_module_from_file(self):
        """Test connecting to a WebAssembly engine via GDB-remote and loading a Wasm module from a file"""

+0 −3
Original line number Diff line number Diff line
@@ -48,7 +48,6 @@
#include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
#include "Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h"
#include "Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h"
#include "Plugins/Instruction/ARM/EmulateInstructionARM.h"
#include "Plugins/Instruction/ARM64/EmulateInstructionARM64.h"
#include "Plugins/Instruction/MIPS/EmulateInstructionMIPS.h"
@@ -275,7 +274,6 @@ llvm::Error SystemInitializerFull::Initialize() {
  DynamicLoaderMacOSXDYLD::Initialize();
  DynamicLoaderMacOS::Initialize();
  DynamicLoaderPOSIXDYLD::Initialize();
  wasm::DynamicLoaderWasmDYLD::Initialize(); // before DynamicLoaderStatic.
  DynamicLoaderStatic::Initialize();
  DynamicLoaderWindowsDYLD::Initialize();

@@ -364,7 +362,6 @@ void SystemInitializerFull::Terminate() {
  DynamicLoaderMacOSXDYLD::Terminate();
  DynamicLoaderMacOS::Terminate();
  DynamicLoaderPOSIXDYLD::Terminate();
  wasm::DynamicLoaderWasmDYLD::Terminate();
  DynamicLoaderStatic::Terminate();
  DynamicLoaderWindowsDYLD::Terminate();

+0 −3
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@
#include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"
#include "Plugins/DynamicLoader/Static/DynamicLoaderStatic.h"
#include "Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.h"
#include "Plugins/DynamicLoader/wasm-DYLD/DynamicLoaderWasmDYLD.h"
#include "Plugins/Instruction/ARM/EmulateInstructionARM.h"
#include "Plugins/Instruction/ARM64/EmulateInstructionARM64.h"
#include "Plugins/Instruction/MIPS/EmulateInstructionMIPS.h"
@@ -245,7 +244,6 @@ llvm::Error SystemInitializerTest::Initialize() {
  DynamicLoaderMacOSXDYLD::Initialize();
  DynamicLoaderMacOS::Initialize();
  DynamicLoaderPOSIXDYLD::Initialize();
  wasm::DynamicLoaderWasmDYLD::Initialize(); // before DynamicLoaderStatic.
  DynamicLoaderStatic::Initialize();
  DynamicLoaderWindowsDYLD::Initialize();

@@ -334,7 +332,6 @@ void SystemInitializerTest::Terminate() {
  DynamicLoaderMacOSXDYLD::Terminate();
  DynamicLoaderMacOS::Terminate();
  DynamicLoaderPOSIXDYLD::Terminate();
  wasm::DynamicLoaderWasmDYLD::Terminate();
  DynamicLoaderStatic::Terminate();
  DynamicLoaderWindowsDYLD::Terminate();