Fangrui Song
6ed18eaa77
[llvm-objdump][test] Change llvm-objdump tests to use double dash options
2020-03-15 16:01:26 -07:00
Francis Visoiu Mistrih
f57a247df7
[llvm-objdump][MachO] Disable some invalid input tests
...
It causes some (but not all) bots to fail. I'll look into it tomorrow
morning. Remove the tests for now to make the bots green.
llvm-svn: 350908
2019-01-10 23:46:31 +00:00
Francis Visoiu Mistrih
1bd054ead2
[llvm-objdump][MachO] Fix test to work on Windows
...
This fails in http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/3208/steps/stage%201%20check/logs/stdio .
llvm-svn: 350871
2019-01-10 18:32:30 +00:00
Francis Visoiu Mistrih
b8819dc1e3
[llvm-objdump][MachO] Fix error reporting after r350848 and r350849
...
llvm-svn: 350851
2019-01-10 17:36:54 +00:00
Francis Visoiu Mistrih
1b427d4dba
[llvm-objdump][MachO] Use the -dsym file name when reporting errors
...
Instead of using the binary filename.
llvm-svn: 350849
2019-01-10 17:16:42 +00:00
Francis Visoiu Mistrih
9f4f01182e
[llvm-objdump][MachO] Correctly handle the llvm::Error when -dsym has errors
...
In an assert build, the Error gets destroyed and we get "Program aborted
due to an unhandled Error:".
In release, we get an empty message.
llvm-svn: 350848
2019-01-10 17:16:37 +00:00
Alexey Samsonov
3642508921
Fix buildbot failure on Windows by relaxing test expectations.
...
llvm-svn: 239074
2015-06-04 19:22:00 +00:00
Alexey Samsonov
50d0fbd2b9
llvm-objdump: return non-zero exit code for certain cases of invalid input
...
* If the input file is missing;
* If the type of input object file can't be recognized;
* If the object file can't be parsed correctly.
llvm-svn: 239065
2015-06-04 18:34:11 +00:00