The allocsize attribute refers to call parameters by index.
Thus, when we add the extra parameter in sjlj lowering, we
need to increment the referenced paramater in the allocsize
attribute to avoid angering the Verifier.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 35827 Build 35826: arc lint + arc unit
Event Timeline
Comment Actions
Thank you for fixing this too!
(I added D65463 as a parent revision by mistake and deleted it, sorry; I was confused and thought this was related to that CL first, but this is not)
Real nit: Doesn't matter for this test case, but maybe it would make more sense for this file to return i8*, because it has allocsize attribute