The underlying issue here is that line 125 checks if linkopts was assigned (by line 120) but it's not initialized, so that becomes a crash. This was noticed by someone trying to use Docker, so no terminfo library installed.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The underlying issue here is that line 125 checks if linkopts was assigned (by line 120) but it's not initialized, so that becomes a crash. This was noticed by someone trying to use Docker, so no terminfo library installed.
Sorry if I'm doing something wrong here, I'm new to phabricator.
LGTM. Thanks for the fix. Can you add the explanation to the description? Also, do you need me to land this for you? If so, do you want it committed with the author information from this commit "jonmeow <46229924+jonmeow@users.noreply.github.com>"?
I've moved my explanation into the description, and I think the commit reflects it now. I don't have LLVM commit access, so I think I do need you to land it. I'm fine with that attribution (if you want a working email, "jonmeow <jperkins@google.com>" would be fine too).