[libunwind] [libunwind] Remove unnecessary strcpy dependency (PR #72043)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 15:41:52 PST 2023


ldionne wrote:

This seems reasonable. I read the discussion about the size of the member but I think this is unlikely to change much -- plus I think the compiler should be able to diagnose in case the string becomes smaller and we'd be copying from a past-the-end location into the data structure: https://godbolt.org/z/qP736q5je

Clang doesn't warn right now but GCC does. I filed https://github.com/llvm/llvm-project/issues/72455 about that.

https://github.com/llvm/llvm-project/pull/72043


More information about the cfe-commits mailing list