These two cases will trigger a dereference on a nullptr, since the
SymbolTable can be nonexistent for a given library, in addition to just
being empty.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 20503 Build 20503: arc lint + arc unit
Event Timeline
tools/llvm-objcopy/llvm-objcopy.cpp | ||
---|---|---|
653 | if i understand correctly, this line should be reverted back as discussed on the other diff + remove the lines 45-49 in the test. the other change (line 418 + tests) looks fine to me |
Comment Actions
I restored the original change, since I had confused things with arcanist before. PTAL
Comment Actions
Nope, I just missed that it was approved (and promptly forgot about it since I was chasing other problems). I will go ahead and submit it. Thanks for the review.
if i understand correctly, this line should be reverted back as discussed on the other diff + remove the lines 45-49 in the test.
the other change (line 418 + tests) looks fine to me