]> granicus.if.org Git - clang/commit
Debug Info: Remove special-casing of indirect function argument handling.
authorAdrian Prantl <aprantl@apple.com>
Tue, 18 Apr 2017 01:22:01 +0000 (01:22 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 18 Apr 2017 01:22:01 +0000 (01:22 +0000)
commit7ee1354f0554cf8a9a20b6bf035366bd959efc1b
tree16179fd64d6a453e1cac1ab8f1800d4a57717e64
parent9ea711133f6895cba2c401353964cc8718f12a73
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300523 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGen/debug-info-vla.c
test/CodeGenCXX/debug-info.cpp
test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl