From 667b09057c2ac2eb422adbe3ec0ad78f4a69c0d5 Mon Sep 17 00:00:00 2001 From: xwx1135370 Date: Mon, 9 Jan 2023 12:53:31 +0800 Subject: [PATCH] Revert "update lldb/test/API/commands/settings/TestSettings.py." This reverts commit 208bc1d7c1c8a38ec6eca94e1c6d2c8c9178575d. Revert "Test "settings set plugin.symbol-file.dwarf.comp-dir-symlink-paths /proc/self/cwd" command." This reverts commit 7b939f690f808f4f0ce2abbb362a661bb2a20318. Revert "support "settings set plugin.symbol-file.dwarf.comp-dir-symlink-paths /proc/self/cwd" command." This reverts commit 8b29fc9deefe42f4140a9a10e660d8ef1c3dcefc. Signed-off-by: xwx1135370 --- .../SymbolFile/DWARF/SymbolFileDWARFProperties.td | 4 ---- lldb/test/API/commands/settings/TestSettings.py | 9 --------- 2 files changed, 13 deletions(-) diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td index ef6ae3498588..2f1ce88808b7 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td @@ -1,10 +1,6 @@ include "../../../../include/lldb/Core/PropertiesBase.td" let Definition = "symbolfiledwarf" in { - def SymLinkPaths: Property<"comp-dir-symlink-paths", "FileSpecList">, - Global, - DefaultStringValue<"">, - Desc<"If the DW_AT_comp_dir matches any of these paths the symbolic links will be resolved at DWARF parse time.">; def IgnoreIndexes: Property<"ignore-file-indexes", "Boolean">, Global, DefaultFalse, diff --git a/lldb/test/API/commands/settings/TestSettings.py b/lldb/test/API/commands/settings/TestSettings.py index 038240047321..180d45e4e934 100644 --- a/lldb/test/API/commands/settings/TestSettings.py +++ b/lldb/test/API/commands/settings/TestSettings.py @@ -742,12 +742,3 @@ class SettingsCommandTestCase(TestBase): # finally, confirm that trying to set a setting that does not exist still fails. # (SHOWING a setting that does not exist does not currently yield an error.) self.expect('settings set target.setting-which-does-not-exist true', error=True) - - def test_settings_plugin_path(self): - path = self.getBuildArtifact("/proc/self/cwd"); - self.runCmd("settings set plugin.symbol-file.dwarf.comp-dir-symlink-paths %s" % - path) #Set to konw value - self.expect("settings show plugin.symbol-file.dwarf.comp-dir-symlink-paths", - substrs=['plugin.symbol-file.dwarf.comp-dir-symlink-paths (file-list) =', - '[0]: \proc\self\cwd']) - self.runCmd("settings clear plugin.symbol-file.dwarf.comp-dir-symlink-paths") -- Gitee