1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/include/llvm-c
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
..
Transforms [SimplifyCFG] use pass options and remove the latesimplifycfg pass 2017-10-28 18:43:07 +00:00
Analysis.h
BitReader.h
BitWriter.h
Core.h [LLVM-C] Publicly expose getters of MetadataType, TokenType 2017-10-27 11:51:40 +00:00
DebugInfo.h Debug Info: Support DW_AT_calling_convention on composite types. 2018-01-05 01:13:37 +00:00
Disassembler.h
ErrorHandling.h
ExecutionEngine.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Initialization.h
IRReader.h
Linker.h
LinkTimeOptimizer.h
lto.h [ThinLTO][CachePruning] explicitly disable pruning 2017-12-22 18:32:15 +00:00
module.modulemap
Object.h
OrcBindings.h [ORC] Hook up the LLVMOrcAddObjectFile function in the Orc C Bindings. 2017-09-17 03:25:03 +00:00
Support.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Target.h
TargetMachine.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
Types.h Introduce LLVMDIBuilderRef 2017-04-20 14:22:47 +00:00