Nowhere in lldb do we call this with a null pointer.
If we did, the first line of the function would fault anyway.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125218
[lldb][NFC] Make cmd a reference in GenerateOptionUsage ClosedPublic Authored by DavidSpickett on May 9 2022, 4:14 AM.
Details Summary Nowhere in lldb do we call this with a null pointer.
Diff Detail
Event TimelineDavidSpickett added a child revision: D125219: [lldb][NFC] Simplify GenerateOptionUsage.May 9 2022, 4:15 AM This revision is now accepted and ready to land.May 13 2022, 1:03 PM Closed by commit rGe473e79cd194: [lldb][NFC] Make cmd a reference in GenerateOptionUsage (authored by DavidSpickett). · Explain WhyMay 16 2022, 3:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 429673 lldb/include/lldb/Interpreter/Options.h
lldb/source/Commands/CommandObjectDisassemble.cpp
lldb/source/Commands/CommandObjectFrame.cpp
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Interpreter/Options.cpp
|