2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -debug-info-kind=limited -fobjc-exceptions -emit-llvm %s -o - | FileCheck %s
|
2011-10-19 08:44:01 +08:00
|
|
|
@interface Foo @end
|
|
|
|
void f0() {
|
|
|
|
@try {
|
|
|
|
@throw @"a";
|
|
|
|
} @catch(Foo *e) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-27 06:16:26 +08:00
|
|
|
// We should have 3 lexical blocks here at the moment, including one
|
2011-10-19 08:44:01 +08:00
|
|
|
// for the catch block.
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DILexicalBlock(
|
2015-08-01 02:59:37 +08:00
|
|
|
// CHECK: !DILocalVariable(
|
2015-04-30 00:40:08 +08:00
|
|
|
// CHECK: !DILexicalBlock(
|
|
|
|
// CHECK: !DILexicalBlock(
|