1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
Adrian Prantl ae8d4fe15f Debug Info: Support DW_AT_calling_convention on composite types.
This implements the DWARF 5 feature described at
http://www.dwarfstd.org/ShowIssue.php?issue=141215.1

This allows a consumer to understand whether a composite data type is
trivially copyable and thus should be passed by value instead of by
reference. The canonical example is being able to distinguish the
following two types:

  // S is not trivially copyable because of the explicit destructor.
  struct S {
     ~S() {}
  };

  // T is a POD type.
  struct T {
     ~T() = default;
  };

This patch adds two new (DI)flags to LLVM metadata: TypePassByValue
and TypePassByReference.

<rdar://problem/36034922>
Differential Revision: https://reviews.llvm.org/D41743

llvm-svn: 321844
2018-01-05 01:13:37 +00:00
..
2015-12-17 22:09:19 +00:00
2017-03-07 18:26:36 +00:00
2016-06-27 19:43:15 +00:00
2016-08-01 18:07:19 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2016-07-04 08:01:29 +00:00

This directory contains testcases that the verifier is supposed to detect as
malformed LLVM code.  Testcases for situations that the verifier incorrectly
identifies as malformed should go in the test/Assembler directory.