[LLVMbugs] [Bug 22343] New: Add regression tests for r221915.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 26 20:45:51 PST 2015


            Bug ID: 22343
           Summary: Add regression tests for r221915.
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: lhames at gmail.com
                CC: daniel at zuster.org, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

r221915 changed a number of asserts into error-checks in MachOObjectFile, but
no test-cases were added.

Malformed objects covering the following cases should be tested:

(1) Duplicate SymtabLoadCmd.
(2) Duplicate DysymtabLoadCmd.
(3) Duplicate DataInCodeLoadCmd.
(4) Duplicate DyldInfoLoadCmd.
(5) Duplicate UuidLoadCmd.

At a minimum we can test that llvm-objdump no longer asserts on these cases.
Once we have some proper error reporting we can check specifically for that.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150127/ae8ee773/attachment.html>

More information about the llvm-bugs mailing list