diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-06-19 21:53:53 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-06-19 21:53:53 +0000 |
commit | b9c667d808ae36ba08d463135feb8fd37ebe8050 (patch) | |
tree | a584d2a0abb500d3fc4fcf0fc2f11b3c138c756a /clang/test/CodeGenCXX/debug-info.cpp | |
parent | b5101ab386b780e96c98bbc34e3a695ef4823b4c (diff) | |
download | llvm-b9c667d808ae36ba08d463135feb8fd37ebe8050.zip llvm-b9c667d808ae36ba08d463135feb8fd37ebe8050.tar.gz llvm-b9c667d808ae36ba08d463135feb8fd37ebe8050.tar.bz2 |
Debug Info: PR14763/r183329 - specify that non-trivial pass-by-value parameters are stored indirectly
This is to fix the location information for such parameters to refer to
the object accessible through the pointer rather than to the pointer
parameter itself.
llvm-svn: 184367
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 9413575..2d1b518 100644 --- a/clang/test/CodeGenCXX/debug-info.cpp +++ b/clang/test/CodeGenCXX/debug-info.cpp @@ -92,7 +92,7 @@ incomplete (*x)[3]; } // For some reason the argument for PR14763 ended up all the way down here -// CHECK: = metadata !{i32 {{[0-9]*}}, metadata [[FUNC]], {{.*}}, metadata [[FOO]], i32 0, i32 0} ; [ DW_TAG_arg_variable ] [f] +// CHECK: = metadata !{i32 {{[0-9]*}}, metadata [[FUNC]], {{.*}}, metadata [[FOO]], i32 8192, i32 0} ; [ DW_TAG_arg_variable ] [f] namespace pr16214 { struct a { |