[asan-assembly-instrumentation] Added end-to-end test for proper stack unwind for functions with inline assembly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can you make it a lit test?
Also, you don't really need deep recursion. It's enough to check that 1 unwind step in the asm block works.
Again, in 2 cases - with and without a frame pointer (btw, this is something that's very easy to do in lit tests).
Comment Actions
LGTM, thanks
test/asan/TestCases/Linux/asan-asm-stacktrace-test.cc | ||
---|---|---|
14 ↗ | (On Diff #13520) | I think attributes are usually placed before the return type. |
Comment Actions
Many thanks!
test/asan/TestCases/Linux/asan-asm-stacktrace-test.cc | ||
---|---|---|
14 ↗ | (On Diff #13520) | Done. |