diff options
author | Xing GUO <higuoxing@gmail.com> | 2020-09-18 20:20:58 +0800 |
---|---|---|
committer | Xing GUO <higuoxing@gmail.com> | 2020-09-18 20:21:11 +0800 |
commit | 2d35092cd2589dffbca1e34a3dc68f6df75818a9 (patch) | |
tree | 2ff27887fa494fbb218f2731ad199437c13c5653 /llvm/test/ObjectYAML | |
parent | a761e81e2202e6d7ccdf07736942723c95614d7d (diff) | |
download | llvm-2d35092cd2589dffbca1e34a3dc68f6df75818a9.zip llvm-2d35092cd2589dffbca1e34a3dc68f6df75818a9.tar.gz llvm-2d35092cd2589dffbca1e34a3dc68f6df75818a9.tar.bz2 |
[DWARFYAML] Make the include_directories, file_names and opcodes fields of the line table optional.
This patch makes the include_directories, file_names and opcodes fields
of the line table optional. This helps us simplify some tests.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D87878
Diffstat (limited to 'llvm/test/ObjectYAML')
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml | 1 | ||||
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml | 2 | ||||
-rw-r--r-- | llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml b/llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml index 7b9d5fa..d6bcaf0 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml @@ -478,7 +478,6 @@ DWARF: - 0 - 0 - 1 - IncludeDirs: Files: - Name: hello_world.c DirIdx: 0 diff --git a/llvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml b/llvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml index 6643e2d..6ac577f 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml @@ -499,7 +499,6 @@ DWARF: LineRange: 14 OpcodeBase: 13 StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ] - IncludeDirs: Files: - Name: hello_world.c DirIdx: 0 @@ -540,7 +539,6 @@ DWARF: # CHECK-NEXT: LineRange: 14 # CHECK-NEXT: OpcodeBase: 13 # CHECK-NEXT: StandardOpcodeLengths: [ 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1 ] -# CHECK-NEXT: IncludeDirs: # CHECK-NEXT: Files: # CHECK-NEXT: - Name: hello_world.c # CHECK-NEXT: DirIdx: 0 diff --git a/llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml b/llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml index d016b8c..e0f82e8 100644 --- a/llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml +++ b/llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml @@ -479,7 +479,6 @@ DWARF: - 0 - 0 - 1 - IncludeDirs: Files: - Name: hello_world.c DirIdx: 0 |