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)
commit71fb83ea7aeed1a60a621752471f9f7f28346df3
treea92e116135317d2d24ad9056bb382ba8547e9155
parent3a8d7e2f10f9395f738db8ff19c9e38ede1097c8
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)

llvm-svn: 226337
clang/test/CodeGenCXX/crash.cpp
clang/test/CodeGenCXX/debug-info-line.cpp