]> granicus.if.org Git - clang/commit
Isolate test for PR22096 to clang.
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 16 Jan 2015 22:55:09 +0000 (22:55 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 16 Jan 2015 22:55:09 +0000 (22:55 +0000)
commit5bc0f8d6c27c36f07313dcb65a08b695c76b996c
tree368bd378539c61b80cc977b8c88f2383faf29e06
parent1b578c21b8068771e63b3fbe331f6e42e9b9d628
Isolate test for PR22096 to clang.

Emitting inlinable calls without debug locations (in functions with
debug info, to functions with debug info) is problematic for debug info
when inlining occurs. Test specifically that we don't do that in this
case - thus the test isn't simply "don't crash", it's "include debug
location for this call" (granted it's the wrong location - fix for that
is coming)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@226337 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCXX/crash.cpp
test/CodeGenCXX/debug-info-line.cpp