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

Revisit the llvm/test/ExecutionEngine/JITLink/x86-64/COFF_comdat_weak_plus_strong.s test #121573

Open
hokein opened this issue Jan 3, 2025 · 2 comments

Comments

@hokein
Copy link
Collaborator

hokein commented Jan 3, 2025

I discovered an error in this test, and fixed it in e576c5b.

However, this test doesn't seem to test anything -- I made some arbitrary changes (e.g. llvm-jitlink to llvm-not-valid on Line 9), the test was still passed. It is a little hard to understand the purpose of this test with the combination of XFAIL:* and not.

@sunho, you're the author of this test, can you take a look at this test?

@llvmbot
Copy link
Member

llvmbot commented Jan 3, 2025

@llvm/issue-subscribers-jitlink

Author: Haojian Wu (hokein)

I discovered an error in this test, and fixed it in https://github.com/llvm/llvm-project/commit/e576c5bed79f8a9528391756c8475cc3a6276adf.

However, this test doesn't seem to test anything -- I made some arbitrary changes (e.g. llvm-jitlink to llvm-not-valid on Line 9), the test was still passed. It is a little hard to understand the purpose of this test with the combination of XFAIL:* and not.

@sunho, you're the author of this test, can you take a look at this test?

@lhames
Copy link
Contributor

lhames commented Jan 9, 2025

@hokein It looks like this is a test for an expected error that is not produced yet:

FIXME: Comdat any + ordinary strong symbol should generate duplicate section error

So not llvm-jitlink ... is "This should fail with an error", and XFAIL: * is "but we're not producing the error yet".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants