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

[Bug]: vast-front with -cc1 fails to report unknown argument #666

Open
Jezurko opened this issue Jul 11, 2024 · 0 comments
Open

[Bug]: vast-front with -cc1 fails to report unknown argument #666

Jezurko opened this issue Jul 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Jezurko
Copy link
Collaborator

Jezurko commented Jul 11, 2024

VAST version

$ vast-front --version clang version 18.1.6 (git@github.com:llvm/llvm-project.git 1118c2e05e67a36ed8ca250524525cdb66a55256) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/jezko/src/vast/builds/default/tools/vast-front/Debug

LLVM version

18.1.6

Operating system

Linux Solus

Description

When running vast-front -cc1 with an invalid option, it fails to report a problem and just silently ends with non-zero return code.

Steps to Reproduce

Run e.g. vast-front -cc1 -m16 test.c and clang -cc1 -m16 test.c for comparison. (-m16 can be replace by any random string that is not a valid option)

@Jezurko Jezurko added the bug Something isn't working label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant