[PATCH] D70416: [Driver] Make -static-libgcc imply static libunwind

2020-04-24 Thread Idar Tollefsen via Phabricator via cfe-commits
itollefsen added a comment. I only build libunwind as a static library because it's (so far) the approach that gets me the furthest in avoiding all of the trouble that comes from having multiple libunwind (on Linux). I'm also running with the patch from D26244

[PATCH] D70416: [Driver] Make -static-libgcc imply static libunwind

2020-04-23 Thread Idar Tollefsen via Phabricator via cfe-commits
itollefsen added a comment. This fails to account for whether you actually //have// the shared and/or static version of the library. Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:1215 +else + CmdArgs.push_back("-l:libunwind.so"); break;