diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2016-06-16 21:40:06 +0000 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2016-06-16 21:40:06 +0000 |
commit | f9e890cbf964ec2222693034d159c49a28f6f117 (patch) | |
tree | d9b8baadf77a24c92e1ccce8b7905d0a48367ab6 /llvm/lib/CodeGen/SafeStack.cpp | |
parent | 119dad63bc5bd5ed46d2be2556af148264f9f62f (diff) | |
download | llvm-f9e890cbf964ec2222693034d159c49a28f6f117.zip llvm-f9e890cbf964ec2222693034d159c49a28f6f117.tar.gz llvm-f9e890cbf964ec2222693034d159c49a28f6f117.tar.bz2 |
Fix a few issues while skipping function bodies
- In functions with try { } catch { }, only the try block would be
skipped, not the catch blocks
- The template functions would still be parsed.
- The initializers within a constructor would still be parsed.
- The inline functions within class would still be stored, only to be
discared later.
- Invalid code with try would assert (as in "int foo() try assert_here")
This attempt to do even less while skipping function bodies.
Differential Revision: http://reviews.llvm.org/D20821
llvm-svn: 272963
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions