1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02: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 Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
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 Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
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 Move LLVMCreateTargetData and LLVMDisposeTargetData together. NFC 2016-02-17 22:41:09 +00:00
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