[Lldb-commits] [lldb] b71b250 - [test] Fix PayloadString: in lldb tests
Fangrui Song via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 26 10:00:11 PDT 2021
Author: Fangrui Song
Date: 2021-07-26T10:00:05-07:00
New Revision: b71b25008f2a746d11ed1db1f49a6461b387cc8a
URL: https://github.com/llvm/llvm-project/commit/b71b25008f2a746d11ed1db1f49a6461b387cc8a
DIFF: https://github.com/llvm/llvm-project/commit/b71b25008f2a746d11ed1db1f49a6461b387cc8a.diff
LOG: [test] Fix PayloadString: in lldb tests
Added:
Modified:
lldb/test/API/macosx/version_zero/libDylib.dylib.yaml
lldb/test/Shell/ObjectFile/MachO/lc_build_version.yaml
lldb/test/Shell/ObjectFile/MachO/lc_build_version_notools.yaml
lldb/test/Shell/ObjectFile/MachO/lc_version_min.yaml
lldb/test/Shell/ObjectFile/MachO/symtab.yaml
Removed:
################################################################################
diff --git a/lldb/test/API/macosx/version_zero/libDylib.dylib.yaml b/lldb/test/API/macosx/version_zero/libDylib.dylib.yaml
index a672f49fb4a0c..e0a0133960ef8 100644
--- a/lldb/test/API/macosx/version_zero/libDylib.dylib.yaml
+++ b/lldb/test/API/macosx/version_zero/libDylib.dylib.yaml
@@ -63,7 +63,7 @@ LoadCommands:
timestamp: 1
current_version: 0
compatibility_version: 0
- PayloadString: '@executable_path/libDylib.dylib'
+ Content: '@executable_path/libDylib.dylib'
ZeroPadBytes: 1
- cmd: LC_DYLD_INFO_ONLY
cmdsize: 48
@@ -125,7 +125,7 @@ LoadCommands:
timestamp: 2
current_version: 83427328
compatibility_version: 65536
- PayloadString: '/usr/lib/libSystem.B.dylib'
+ Content: '/usr/lib/libSystem.B.dylib'
ZeroPadBytes: 6
- cmd: LC_FUNCTION_STARTS
cmdsize: 16
diff --git a/lldb/test/Shell/ObjectFile/MachO/lc_build_version.yaml b/lldb/test/Shell/ObjectFile/MachO/lc_build_version.yaml
index 576af4c225ee9..66245644a9cb3 100644
--- a/lldb/test/Shell/ObjectFile/MachO/lc_build_version.yaml
+++ b/lldb/test/Shell/ObjectFile/MachO/lc_build_version.yaml
@@ -113,7 +113,7 @@ LoadCommands:
- cmd: LC_LOAD_DYLINKER
cmdsize: 32
name: 12
- PayloadString: /usr/lib/dyld
+ Content: /usr/lib/dyld
ZeroPadBytes: 7
- cmd: LC_UUID
cmdsize: 24
@@ -141,7 +141,7 @@ LoadCommands:
timestamp: 2
current_version: 82102276
compatibility_version: 65536
- PayloadString: /usr/lib/libSystem.B.dylib
+ Content: /usr/lib/libSystem.B.dylib
ZeroPadBytes: 6
- cmd: LC_FUNCTION_STARTS
cmdsize: 16
diff --git a/lldb/test/Shell/ObjectFile/MachO/lc_build_version_notools.yaml b/lldb/test/Shell/ObjectFile/MachO/lc_build_version_notools.yaml
index 21aebae764b0f..c45de703739a2 100644
--- a/lldb/test/Shell/ObjectFile/MachO/lc_build_version_notools.yaml
+++ b/lldb/test/Shell/ObjectFile/MachO/lc_build_version_notools.yaml
@@ -112,7 +112,7 @@ LoadCommands:
- cmd: LC_LOAD_DYLINKER
cmdsize: 32
name: 12
- PayloadString: /usr/lib/dyld
+ Content: /usr/lib/dyld
ZeroPadBytes: 7
- cmd: LC_UUID
cmdsize: 24
@@ -137,7 +137,7 @@ LoadCommands:
timestamp: 2
current_version: 82102276
compatibility_version: 65536
- PayloadString: /usr/lib/libSystem.B.dylib
+ Content: /usr/lib/libSystem.B.dylib
ZeroPadBytes: 6
- cmd: LC_FUNCTION_STARTS
cmdsize: 16
diff --git a/lldb/test/Shell/ObjectFile/MachO/lc_version_min.yaml b/lldb/test/Shell/ObjectFile/MachO/lc_version_min.yaml
index 88d3f2814dd9a..227d278000241 100644
--- a/lldb/test/Shell/ObjectFile/MachO/lc_version_min.yaml
+++ b/lldb/test/Shell/ObjectFile/MachO/lc_version_min.yaml
@@ -113,7 +113,7 @@ LoadCommands:
- cmd: LC_LOAD_DYLINKER
cmdsize: 32
name: 12
- PayloadString: /usr/lib/dyld
+ Content: /usr/lib/dyld
ZeroPadBytes: 7
- cmd: LC_UUID
cmdsize: 24
@@ -136,7 +136,7 @@ LoadCommands:
timestamp: 2
current_version: 82102276
compatibility_version: 65536
- PayloadString: /usr/lib/libSystem.B.dylib
+ Content: /usr/lib/libSystem.B.dylib
ZeroPadBytes: 6
- cmd: LC_FUNCTION_STARTS
cmdsize: 16
diff --git a/lldb/test/Shell/ObjectFile/MachO/symtab.yaml b/lldb/test/Shell/ObjectFile/MachO/symtab.yaml
index 9f5e1a02bbc82..6dd221eaa7207 100644
--- a/lldb/test/Shell/ObjectFile/MachO/symtab.yaml
+++ b/lldb/test/Shell/ObjectFile/MachO/symtab.yaml
@@ -247,7 +247,7 @@ LoadCommands:
- cmd: LC_LOAD_DYLINKER
cmdsize: 32
name: 12
- PayloadString: '/usr/lib/dyld'
+ Content: '/usr/lib/dyld'
ZeroPadBytes: 7
- cmd: LC_UUID
cmdsize: 24
@@ -275,7 +275,7 @@ LoadCommands:
timestamp: 2
current_version: 14942208
compatibility_version: 65536
- PayloadString: '/usr/lib/libobjc.A.dylib'
+ Content: '/usr/lib/libobjc.A.dylib'
ZeroPadBytes: 8
- cmd: LC_LOAD_DYLIB
cmdsize: 56
@@ -284,7 +284,7 @@ LoadCommands:
timestamp: 2
current_version: 83951616
compatibility_version: 65536
- PayloadString: '/usr/lib/libSystem.B.dylib'
+ Content: '/usr/lib/libSystem.B.dylib'
ZeroPadBytes: 6
- cmd: LC_LOAD_DYLIB
cmdsize: 64
@@ -293,17 +293,17 @@ LoadCommands:
timestamp: 2
current_version: 0
compatibility_version: 65536
- PayloadString: '/usr/lib/swift/libswiftCore.dylib'
+ Content: '/usr/lib/swift/libswiftCore.dylib'
ZeroPadBytes: 7
- cmd: LC_RPATH
cmdsize: 136
path: 12
- PayloadString: '/Volumes/Jonas/internal-stable/build/Ninja-RelWithDebInfoAssert+stdlib-RelWithDebInfo/swift-macosx-x86_64/lib/swift/macosx'
+ Content: '/Volumes/Jonas/internal-stable/build/Ninja-RelWithDebInfoAssert+stdlib-RelWithDebInfo/swift-macosx-x86_64/lib/swift/macosx'
ZeroPadBytes: 2
- cmd: LC_RPATH
cmdsize: 128
path: 12
- PayloadString: '/Applications/XcodeY.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift'
+ Content: '/Applications/XcodeY.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/swift'
ZeroPadBytes: 2
- cmd: LC_FUNCTION_STARTS
cmdsize: 16
More information about the lldb-commits
mailing list