Encountered ASAN crash and found it dereference without check pointer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Support/RISCVISAInfo.cpp | ||
---|---|---|
705 | What about: auto GoToNextExt = [&](StringRef::iterator &I, unsigned ConsumeLength) { I += 1 + ConsumeLength; if (I != Exts.end() && *I == '_') ++I; }; So that there is no need to make changes below. |
Comment Actions
LGTM, I guess I am old school guys, I would like to explicitly pass values instead of capture ref. from outside.
What about:
So that there is no need to make changes below.