summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-same-line.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DebugInfo: Remove distinct-call-inlining test case as this is being fixed in ↵David Blaikie2015-01-211-64/+0
| | | | | | | | | | | | | LLVM. This test will start failing shortly once this bug is fixed in LLVM. At that point this behavior is no longer required in Clang and will be removed. In the interim, remove this test just to avoid the race between the LLVM and Clang commits. After the LLVM commit, I'll cleanup the workaround behavior in Clang. llvm-svn: 226735
* allow optional signext attributeWill Schmidt2014-06-021-4/+4
| | | | | | | Allow the tests to succeed with tne signext (or other) attribute is present. The attributes show up for Power, but not for x86*, so need to be appropriately wildcarded. llvm-svn: 210050
* Add FIXME describing the limitation of using column info to disambiguate ↵David Blaikie2014-05-101-106/+47
| | | | | | | | | | | | | | | | | | | | inlining. Also tidy up, simplify, and extend the test coverage to demonstrate the limitations. This test should now fail if the bugs are fixed (& hopefully whoever ends up in this situation sees the FIXMEs and realizes that the test needs to be updated to positively test their change that has fixed some or all of these issues). I do wonder whether I could demonstrate breakage without a macro here, but any way I slice it I can't think of a way to get two calls to the same function on the same line/column in non-macro C++ - implicit conversions happen at the same location as an explicit function, but you'd never get an implicit conversion on the result of an explicit call to the same implicit conversion operator (since the value is already converted to the desired result)... llvm-svn: 208468
* Remove the -cxx-abi command-line flag.Hans Wennborg2014-01-141-1/+1
| | | | | | | | | | | | | | | This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples, Itanium otherwise. It's no longer possible to do weird combinations. To be able to run a test with a specific ABI without constraining it to a specific triple, new substitutions are added to lit: %itanium_abi_triple and %ms_abi_triple can be used to get the current target triple adjusted to the desired ABI. For example, if the test suite is running with the i686-pc-win32 target, %itanium_abi_triple will expand to i686-pc-mingw32. Differential Revision: http://llvm-reviews.chandlerc.com/D2545 llvm-svn: 199250
* Prepare for using MS ABI by default for Win32: update CodeGenCXX testsHans Wennborg2013-12-131-1/+1
| | | | llvm-svn: 197281
* Debug Info / EmitCallArgs: arguments may modify the debug location.Adrian Prantl2013-07-261-0/+25
| | | | | | | | | | Restore it after each argument is emitted. This fixes the scope info for inlined subroutines inside of function argument expressions. (E.g., anything STL). rdar://problem/12592135 llvm-svn: 187240
* Relax test to allow for attributes on other architectures. Caught by ↵Adrian Prantl2013-03-191-2/+2
| | | | | | powerpc64-unknown-linux-gnu buildbot. llvm-svn: 177419
* Force column info only for direct inlined functions. This should strikeAdrian Prantl2013-03-151-1/+18
| | | | | | | | | | the balance between expected behavior and compatibility with the gdb testsuite. (GDB gets confused if we break an expression into multiple debug stmts so we enable this behavior only for inlined functions. For the full experience people can still use -gcolumn-info.) llvm-svn: 177164
* relax check to allow for attributes (fix buildbot for elf-ppc64)Adrian Prantl2013-03-131-1/+1
| | | | llvm-svn: 176954
* Eliminate backend dependency in CFE testcase.Adrian Prantl2013-03-121-14/+29
| | | | llvm-svn: 176901
* Force column info to be generated for call expressions so we canAdrian Prantl2013-03-121-0/+66
differentiate multiple inlined call sites on the same line in the debug info. Fixes rdar://problem/13036237 llvm-svn: 176895
OpenPOWER on IntegriCloud