diff options
author | Reid Kleckner <rnk@google.com> | 2015-10-28 23:06:42 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-10-28 23:06:42 +0000 |
commit | a002bd544c52c6033d973123874c1fa57a85f455 (patch) | |
tree | 09fa69d77e4d9049b06e5ff2ad74ac984c140bcd /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | bdd292ae22739b77abd36b459df2aaf181195ba4 (diff) | |
download | bcm5719-llvm-a002bd544c52c6033d973123874c1fa57a85f455.tar.gz bcm5719-llvm-a002bd544c52c6033d973123874c1fa57a85f455.zip |
[WinEH] Mark calls inside cleanups as noinline
This works around PR25162. The MSVC tables make it very difficult to
correctly inline a C++ destructor that contains try / catch. We've
attempted to address PR25162 in LLVM's backend, but it feels pretty
infeasible. MSVC and ICC both appear to avoid inlining such complex
destructors.
Long term, we want to fix this by making the inliner smart enough to
know when it is inlining into a cleanup, so it can inline simple
destructors (~unique_ptr and ~vector) while avoiding destructors
containing try / catch.
llvm-svn: 251576
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
0 files changed, 0 insertions, 0 deletions