Unwind-tables: move back to original logic outline for kind.
authorTim Northover <tnorthover@apple.com>
Mon, 26 Sep 2022 12:26:36 +0000 (13:26 +0100)
committerTim Northover <tnorthover@apple.com>
Thu, 29 Sep 2022 12:39:06 +0000 (13:39 +0100)
commite62b3a9375d8694efe5bf3d1409bec9be0d288e9
tree451cbe62aabedbaf3b881ae89eb215dfa579f697
parent8a8bacb973837147f97b939d1373cd02057424fc
Unwind-tables: move back to original logic outline for kind.

There are lots of options interacting in complex ways here, and when moving to
`getDefaultUnwindTableLevel` I had refactored this and changed behaviour in
some cases. So this reverts the basic structure of the logic back to the
original, while leaving the hook in the new style.
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/clang-translation.c