1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/tools
Kevin Enderby d35f4170f8 Fix two bugs in llvm-objdump’s printing of Objective-C meta data
from malformed Mach-O files that caused crashes.

We recently got about 700 malformed Mach-O files which we have
been using the improve the robustness of tools that deal with reading
data from object files.  These resulted in about 20 small bug fixes to
the darwin based tools.

The goal here is to also improve the robustness of llvm-objdump and
this is the first two fixes.  In talking with Tim Northover the approach
we thought might be best is to:

1) Only include tests for the malformed Mach-O files that cause crashes
(not all 700+ tests).
2) The test should only contain the command line option that caused the
crash and not all the others that don’t matter.
3) There should be only one line for the FileCheck that is past the point
of the crash if possible and if possible indicates the malformation.

Again the goal is to fix crashes and not so much care about how the
printing of malformed data comes out.

Tim also suggested if we really wanted to add test cases for all 700+
malformed Mach-O files putting them in the regression tests might be
an option.  But many of these do not cause crashes.

llvm-svn: 249479
2015-10-06 22:27:08 +00:00
..
dsymutil dsymutil: Don't prune forward declarations inside of an imported TAG_module 2015-10-05 23:11:20 +00:00
gold Support for function summary index bitcode sections and files. 2015-10-04 14:33:43 +00:00
llvm-cov
llvm-cxxdump [llvm-cxxdump] Remove duplicate code check. 2015-09-15 23:35:32 +00:00
llvm-lit
llvm-mc Improve "default_triple" specification: make it at the directory level for test/tools/llvm-mc 2015-09-16 17:03:12 +00:00
llvm-objdump Fix two bugs in llvm-objdump’s printing of Objective-C meta data 2015-10-06 22:27:08 +00:00
llvm-pdbdump [llvm-pdbdump] Add include-only filters. 2015-09-29 19:49:06 +00:00
llvm-profdata http://reviews.llvm.org/D13145 2015-09-30 00:42:46 +00:00
llvm-readobj Added missing test for [ARM] AttributeParser. Check that build attribute 2015-10-05 12:13:29 +00:00
llvm-size [llvm-size] Attempt to fix a test failure on Windows. 2015-10-03 20:20:28 +00:00
llvm-split [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00
llvm-symbolizer [llvm-symbolizer] Remove underscores and other C mangling on Windows 2015-08-10 21:47:11 +00:00
lto