[PATCH] D123898: Fix crash in ObjC codegen introduced with 5ab6ee75994d645725264e757d67bbb1c96fb2b6

David Chisnall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 17 09:03:31 PDT 2022


theraven added a comment.

I'd like to.  The test case from the original bug report was very large but I'm not sure how to trigger this with anything comprehensibly small.  You need something where the callee is responsible for destroying the argument and I'm not sure what combination of properties / ABIs results in that.  The original test was `-(void)foo:(std::string)aString` on the MSVC ABI, but I don't know how much of the Visual Studio `std::string` implementation is necessary to trigger this behaviour.  Is it just a non-trivial destructor?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123898/new/

https://reviews.llvm.org/D123898



More information about the cfe-commits mailing list