llvm-project/clang/test/CodeGenObjCXX
Adrian Prantl 39428e74a0 Merge ArtificialLocation into ApplyDebugLocation and make a clear
distinction between the different use-cases. With the previous default
behavior we would occasionally emit empty debug locations in situations
where they actually were strictly required (= on invoke insns).
We now have a choice between defaulting to an empty location or an
artificial location.

Specifically, this fixes a bug caused by a missing debug location when
emitting C++ EH cleanup blocks from within an artificial function, such as
an ObjC destroy helper function.

rdar://problem/19670595

llvm-svn: 228003
2015-02-03 18:40:42 +00:00
..
Inputs Objective-C. revert patch for rdar://17554063. 2014-10-28 18:28:16 +00:00
2007-10-03-MetadataPointers.mm
2010-08-04-Template.mm
2010-08-06-X.Y-syntax.mm
address-safety-attr.mm Unify clang/llvm attributes for asan/tsan/msan (Clang part) 2013-02-26 06:58:27 +00:00
arc-attrs.mm Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
arc-blocks.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
arc-cxx11-init-list.mm Have the driver and the target code agree on what the default ABI 2014-12-05 01:06:59 +00:00
arc-cxx11-member-init.mm Fixes test. 2014-11-13 00:19:30 +00:00
arc-exceptions.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-globals.mm Include translation unit filename in global ctor symbol names. 2014-05-06 20:32:45 +00:00
arc-mangle.mm Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
arc-move.mm Revert "Remove threshold for lifetime marker insertion of named temporaries" 2014-12-01 09:30:16 +00:00
arc-new-delete.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-pseudo-destructors.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
arc-references.mm Revert "Remove threshold for lifetime marker insertion of named temporaries" 2014-12-01 09:30:16 +00:00
arc-returns-inner-reference-ptr.mm
arc-special-member-functions.mm Emit DeferredDeclsToEmit in a DFS order. 2015-01-22 00:24:57 +00:00
arc.mm Revert "Remove threshold for lifetime marker insertion of named temporaries" 2014-12-01 09:30:16 +00:00
block-id.mm CodeGenObjCXX: Add a test for r214699 2014-08-05 00:01:15 +00:00
block-in-template-inst.mm
block-var-layout.mm Don't pass -O0 to clang_cc1, it is the default. 2013-09-04 04:12:25 +00:00
blocks.mm
catch-id-type.mm Introduce a new mangling for protocol-qualified ObjC types in C++. This allows 2013-06-18 22:41:37 +00:00
copy.mm
copyable-property-object.mm
debug-info-line.mm IR: Move MDLocation into place (clang testcases) 2015-01-14 22:28:03 +00:00
debug-info.mm
destroy.mm Emit DeferredDeclsToEmit in a DFS order. 2015-01-22 00:24:57 +00:00
encode.mm Use private linkage for globals we already name with \01L and \01l. 2014-02-27 19:01:11 +00:00
exceptions-legacy.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
exceptions.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
externally-initialized-selectors.mm Don't manually insert L prefixes. 2014-11-06 13:30:38 +00:00
foreach-statement.mm
gc.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
implementation-in-extern-c.mm
implicit-copy-assign-operator.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
implicit-copy-constructor.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
ivar-objects.mm
lambda-expressions.mm Emit DeferredDeclsToEmit in a DFS order. 2015-01-22 00:24:57 +00:00
literals.mm Revert "Remove threshold for lifetime marker insertion of named temporaries" 2014-12-01 09:30:16 +00:00
lvalue-reference-getter.mm Don't manually insert L prefixes. 2014-11-06 13:30:38 +00:00
mangle-blocks.mm Emit DeferredDeclsToEmit in a DFS order. 2015-01-22 00:24:57 +00:00
mangle.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
message-reference.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
message.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
method-local-extern-mangle.mm
microsoft-abi-arc-param-order.mm [ms-cxxabi] Use inalloca on win32 when passing non-trivial C++ objects 2014-02-01 00:04:45 +00:00
nested-ehlocation.mm Merge ArtificialLocation into ApplyDebugLocation and make a clear 2015-02-03 18:40:42 +00:00
nrvo.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
objc-container-subscripting-1.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
objc-container-subscripting.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
pr14474-gline-tables-only.mm Fix PR14474: don't emit debug info for interface types in -gline-tables-only mode. 2012-12-03 18:28:12 +00:00
property-derived-to-base-conv.mm
property-dot-copy.mm
property-dot-reference.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
property-lvalue-capture.mm Don't manually insert L prefixes. 2014-11-06 13:30:38 +00:00
property-object-conditional-exp.mm
property-object-reference-1.mm
property-object-reference-2.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
property-object-reference.mm Don't manually insert L prefixes. 2014-11-06 13:30:38 +00:00
property-objects.mm DebugInfo: Don't leak location information from one function into the prologue of the next function. 2014-10-14 16:43:46 +00:00
property-reference.mm Mark C++ reference parameters as dereferenceable 2014-07-18 15:52:10 +00:00
refence-assign-write-barrier.mm
references.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
rtti.mm type_info objects are not unnamed_addr: the ABI requires us to 2014-02-08 03:26:05 +00:00
selector-expr-lvalue.mm
subst-sel.mm AST: Consider pseudo-struct builtin types as substitutable 2014-11-28 22:22:46 +00:00
unknown-anytype.mm CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. 2013-08-15 06:47:53 +00:00
write-barrier-global-assign.mm