ABITestGen.py uses `__alignof__`, preferred alignment, instead of `alignof`
Open
ABI
clang:codegen
test-suite
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
This can possibly be giving misleading results in the generated tests in cases where "preferred alignment" is not equal to actual ABI-required alignment.
Contributor guide
Research direction
Start in ABITestGen.py and trace where the generated tests use __alignof__ for alignment. Compare that with alignof and check the generated ABI tests in cases where preferred and ABI-required alignment differ; done means the tests use the intended alignment and no longer produce misleading results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- compilers, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100