diff options
author | Paul Robinson <paul.robinson@sony.com> | 2018-02-05 20:43:15 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2018-02-05 20:43:15 +0000 |
commit | 0a22709f067c2305e1d99a7dcc6f74f9d65ef47b (patch) | |
tree | 9281bec368cb9a66429516c2280ab6d034ec004a /llvm/test/Linker/subprogram-linkonce-weak.ll | |
parent | 02914dc1278cf9b472e9cd4357d641b5dd3f5834 (diff) | |
download | bcm5719-llvm-0a22709f067c2305e1d99a7dcc6f74f9d65ef47b.tar.gz bcm5719-llvm-0a22709f067c2305e1d99a7dcc6f74f9d65ef47b.zip |
[DWARF] Regularize dumping strings from line tables.
The major visible difference here is that in line-table dumps,
directory and file names are wrapped in double-quotes; previously,
directory names got single quotes and file names were not quoted at
all.
The improvement in this patch is that when a DWARF v5 line table
header has indirect strings, in a verbose dump these will all have
their section[offset] printed as well as the name itself. This
matches the format used for dumping strings in the .debug_info
section.
Differential Revision: https://reviews.llvm.org/D42802
llvm-svn: 324270
Diffstat (limited to 'llvm/test/Linker/subprogram-linkonce-weak.ll')
-rw-r--r-- | llvm/test/Linker/subprogram-linkonce-weak.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/Linker/subprogram-linkonce-weak.ll b/llvm/test/Linker/subprogram-linkonce-weak.ll index 955955043ff..b35c6f0a988 100644 --- a/llvm/test/Linker/subprogram-linkonce-weak.ll +++ b/llvm/test/Linker/subprogram-linkonce-weak.ll @@ -147,14 +147,14 @@ entry: ; DW-LABEL: .debug_line contents: ; Check that we have the right things in the line table as well. -; DWLW-LABEL: file_names[{{ *}}1]{{.*}} bar.c +; DWLW-LABEL: file_names[{{ *}}1]{{.*}} "bar.c" ; DWLW: 2 0 1 0 0 is_stmt prologue_end -; DWLW-LABEL: file_names[{{ *}}1]{{.*}} foo.c +; DWLW-LABEL: file_names[{{ *}}1]{{.*}} "foo.c" ; DWLW: 52 0 1 0 0 is_stmt prologue_end ; DWLW-NOT: prologue_end -; DWWL-LABEL: file_names[{{ *}}1]{{.*}} foo.c +; DWWL-LABEL: file_names[{{ *}}1]{{.*}} "foo.c" ; DWWL: 52 0 1 0 0 is_stmt prologue_end -; DWWL-LABEL: file_names[{{ *}}1]{{.*}} bar.c +; DWWL-LABEL: file_names[{{ *}}1]{{.*}} "bar.c" ; DWWL: 2 0 1 0 0 is_stmt prologue_end ; DWWL-NOT: prologue_end |