- Adds a command line option to seed only selected functions.
- Makes seed allow listing exclusive to assertions enabled builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Maybe the commit message could be a bit more descriptive?
Also clang-tidy warnings should be addressed.
llvm/test/Transforms/Attributor/allow_list.ll | ||
---|---|---|
5 | Maybe a negative test? Wrong function name and/or empty list? |
Comment Actions
typo in the commit message. Can we make sure this seed list checks are not expensive or put them under a macro for assertion versions only?
Comment Actions
- Add negative test.
- Fix clang-tidy error.
- Make seed allow list only enabled for debug builds (assertions turned on).
llvm/lib/Transforms/IPO/Attributor.cpp | ||
---|---|---|
101 | this flag is also used by the code that defines --debug. You don't need to have debug info enabled |
this flag is also used by the code that defines --debug. You don't need to have debug info enabled
for this flag to be defined. Enabling assertions should be enough.