diff options
| author | George Rimar <grimar@accesssoftek.com> | 2019-08-21 11:07:31 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2019-08-21 11:07:31 +0000 |
| commit | f0f38d9b9deea950659756ddd490c6673199e4aa (patch) | |
| tree | cef89ff401156ea39c0664d21dc25f844c96a56f /llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test | |
| parent | 65c58a902d00d8523cbe55d6218ba8d23b6dd185 (diff) | |
| download | bcm5719-llvm-f0f38d9b9deea950659756ddd490c6673199e4aa.tar.gz bcm5719-llvm-f0f38d9b9deea950659756ddd490c6673199e4aa.zip | |
[llvm-objdump] - Cleanup the error reporting.
The error reporting function are not consistent.
Before this change:
* They had inconsistent naming (e.g. 'error' vs 'report_error').
* Some of them reported the object name, others - dont.
* Some of them accepted the case when there was no error. (i.e. error code or Error had a success value).
This patch tries to cleanup it a bit.
It also renames report_error -> reportError, report_warning -> reportWarning
and removes a full stop from messages.
Differential revision: https://reviews.llvm.org/D66418
llvm-svn: 369515
Diffstat (limited to 'llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test')
| -rw-r--r-- | llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test b/llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test index e4de95daee1..65f8e17f8ae 100644 --- a/llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test +++ b/llvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test @@ -9,7 +9,7 @@ # RUN: llvm-objdump --source %t2.o 2> %t2.e | FileCheck %s --check-prefixes=CHECK --implicit-check-not='main()' # RUN: FileCheck %s --input-file %t2.e --check-prefixes=WARN -# WARN: warning: failed to parse debug information for {{.*}}2.o +# WARN: warning: '{{.*}}2.o': failed to parse debug information # CHECK: 0000000000000010 main: # SOURCE-NEXT: ; int main() { # CHECK-NEXT: 10: 55 pushq %rbp |

