http://llvm.org/bugs/show_bug.cgi?id=22343

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to