This is a followup to rL333496.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 18749 Build 18749: arc lint + arc unit
Event Timeline
lib/Object/MachOObjectFile.cpp | ||
---|---|---|
110 | Is the goal to ensure the caller did the check or should we make this a runtime check? |
lib/Object/MachOObjectFile.cpp | ||
---|---|---|
110 | To ensure the caller does the check and didn't rely on the behavior of StringRef::substr from https://reviews.llvm.org/rL333496. I don't think it's worth making it a runtime check. |
lib/Object/MachOObjectFile.cpp | ||
---|---|---|
110 | Alright, I was worried this might trigger in OSS-fuzz but it sounds like an assertion is what we want here. Thanks for confirming! |
Is the goal to ensure the caller did the check or should we make this a runtime check?