Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regression tests for r221915. #22717

Open
lhames opened this issue Jan 27, 2015 · 0 comments
Open

Add regression tests for r221915. #22717

lhames opened this issue Jan 27, 2015 · 0 comments
Labels
bugzilla Issues migrated from bugzilla test-suite

Comments

@lhames
Copy link
Contributor

lhames commented Jan 27, 2015

Bugzilla Link 22343
Version trunk
OS All
CC @lhames,@modocache

Extended Description

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.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla test-suite
Projects
None yet
Development

No branches or pull requests

1 participant