This lets us to remove !stack-safe metadata and
better controll when to perform StackSafety
analysis.
Details
Details
- Reviewers
eugenis pcc - Commits
- rG232d348c6eff: [MTE] Convert StackSafety into analysis
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Driver/memtag_lto.c | ||
---|---|---|
126 | Alloca order can easily change in the future. Not sure how to make this better. Perhaps simply remove the numbers and test that the function has one alloca with [0, 4) and one with [0, 1)? This looks specific enough. | |
llvm/lib/Analysis/StackSafetyAnalysis.cpp | ||
711 | either match or find, not both :) | |
716 | we could cache the results in a hashmap |
clang/test/Driver/memtag_lto.c | ||
---|---|---|
126 | [4] is not value number, but alloca size |
Alloca order can easily change in the future. Not sure how to make this better. Perhaps simply remove the numbers and test that the function has one alloca with [0, 4) and one with [0, 1)? This looks specific enough.