Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/asan/TestCases/contiguous_container.cpp | ||
---|---|---|
1 | Should we also turn on explicitly -fsanitize=alignment to make sure that it works when alignment checks are on? Also make sure that the data that we are passing in is not aligned? |
compiler-rt/test/asan/TestCases/contiguous_container.cpp | ||
---|---|---|
1 | Probably no, I don't expect anything special from alignment checks. |
Comment Actions
D138771 LGTM; I was looking on a support for unaligned double ended containers (with shared granules) in parallel, so I tested that implementation on an alternative test case I wrote independently.
Btw. I think compiler-rt/test/asan/TestCases/contiguous_container.cpp deserves a variable name refactor, but that's for another patch/revision.
Should we also turn on explicitly -fsanitize=alignment to make sure that it works when alignment checks are on? Also make sure that the data that we are passing in is not aligned?