This prevents a bug when passing nullptr, StringRef ctor would call strlen(nullptr).
This should fix 98f3151a7dded8838fafcb5f46e6c8358def96b8 breaking sanitizer-x86_64-linux-bootstrap-msan.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 40201 Build 40297: arc lint + arc unit