diff options
| author | Adrian Prantl <aprantl@apple.com> | 2014-04-29 01:07:59 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2014-04-29 01:07:59 +0000 |
| commit | bc9e1b2ad4ecb054e8a9ad8ddb4096411d3d5075 (patch) | |
| tree | c5daf8501faf91f2a78cb7fb8e9094480950722f /lib/Serialization/ModuleManager.cpp | |
| parent | a3fc2254854704aacd80f645ccfdf9df54294e95 (diff) | |
| download | clang-bc9e1b2ad4ecb054e8a9ad8ddb4096411d3d5075.tar.gz clang-bc9e1b2ad4ecb054e8a9ad8ddb4096411d3d5075.tar.bz2 clang-bc9e1b2ad4ecb054e8a9ad8ddb4096411d3d5075.tar.xz | |
Debug info: Improve line table for functions with cleanups an early exit
and no return expr at the end of the function.
The "function has only simple returns" check in FinishFunction tests
whether the number of simple return exprs equals the number of return
exprs, but so far a fallthrough at the end of a function was not counted
as a return, which would result in cleanup code being associated with the
wrong source line.
rdar://problem/16733984.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
