diff options
| author | Adrian Prantl <aprantl@apple.com> | 2017-04-18 01:22:01 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2017-04-18 01:22:01 +0000 |
| commit | c3782a1a6f9d32919763dd039359c0e1b8b450bc (patch) | |
| tree | f1fc569e6da79052c2bf74086ed7d8632cf1b1a3 /clang/test/CodeGenCXX/debug-info.cpp | |
| parent | 6825fb64e9f4a611c4006027c5c4495df0404ab1 (diff) | |
| download | bcm5719-llvm-c3782a1a6f9d32919763dd039359c0e1b8b450bc.tar.gz bcm5719-llvm-c3782a1a6f9d32919763dd039359c0e1b8b450bc.zip | |
Debug Info: Remove special-casing of indirect function argument handling.
LLVM has changed the semantics of dbg.declare for describing function
arguments. After this patch a dbg.declare always takes the *address*
of a variable as the first argument, even if the argument is not an
alloca.
https://bugs.llvm.org/show_bug.cgi?id=32382
rdar://problem/31205000
llvm-svn: 300523
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/debug-info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/debug-info.cpp b/clang/test/CodeGenCXX/debug-info.cpp index 9575a5129e3..2b86150b52b 100644 --- a/clang/test/CodeGenCXX/debug-info.cpp +++ b/clang/test/CodeGenCXX/debug-info.cpp @@ -21,6 +21,7 @@ // CHECK: ![[INCTYPE]] = !DICompositeType(tag: DW_TAG_structure_type, name: "incomplete" // CHECK-SAME: DIFlagFwdDecl +// CHECK: ![[EXPR]] = !DIExpression() template<typename T> struct Identity { typedef T Type; @@ -117,7 +118,6 @@ struct foo { // For some reason function arguments ended up down here // CHECK: ![[F]] = !DILocalVariable(name: "f", arg: 1, scope: ![[FUNC]] // CHECK-SAME: type: ![[FOO]] -// CHECK: ![[EXPR]] = !DIExpression(DW_OP_deref) foo func(foo f) { return f; // reference 'f' for now because otherwise we hit another bug } |

