llvm-mirror/lib/Bitcode/Writer
Reid Kleckner 818b2dccbc [DebugInfo] Add calling convention support for DWARF and CodeView
Summary:
Now DISubroutineType has a 'cc' field which should be a DW_CC_ enum.  If
it is present and non-zero, the backend will emit it as a
DW_AT_calling_convention attribute. On the CodeView side, we translate
it to the appropriate enum for the LF_PROCEDURE record.

I added a new LLVM vendor specific enum to the list of DWARF calling
conventions. DWARF does not appear to attempt to standardize these, so I
assume it's OK to do this until we coordinate with GCC on how to emit
vectorcall convention functions.

Reviewers: dexonsmith, majnemer, aaboud, amccarth

Subscribers: mehdi_amini, llvm-commits

Differential Revision: http://reviews.llvm.org/D21114

llvm-svn: 272197
2016-06-08 20:34:29 +00:00
..
BitcodeWriter.cpp [DebugInfo] Add calling convention support for DWARF and CodeView 2016-06-08 20:34:29 +00:00
BitcodeWriterPass.cpp [ThinLTO] Move summary computation from BitcodeWriter to new pass 2016-04-11 13:58:45 +00:00
BitWriter.cpp Introduce LLVMWriteBitcodeToMemoryBuffer C API function. 2014-10-14 00:30:59 +00:00
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
LLVMBuild.txt [ThinLTO] BitcodeWriter still requires Analysis library 2016-04-11 14:59:07 +00:00
ValueEnumerator.cpp IR: Allow multiple global metadata attachments with the same type. 2016-06-01 01:17:57 +00:00
ValueEnumerator.h Add support for metadata attachments for global variables. 2016-05-31 23:01:54 +00:00