1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/include/llvm-c
Sourabh Singh Tomar 9241b8151b [DebugInfo][flang]Added support for representing Fortran assumed length strings
This patch adds support for representing Fortran `character(n)`.

Primarily patch is based out of D54114 with appropriate modifications.

Test case IR is generated using our downstream classic-flang. We're in process
of upstreaming flang PR's but classic-flang has dependencies on llvm, so
this has to get in first.

Patch includes functional test case for both IR and corresponding
dwarf, furthermore it has been manually tested as well using GDB.

Source snippet:
```
 program assumedLength
   call sub('Hello')
   call sub('Goodbye')
   contains
   subroutine sub(string)
           implicit none
           character(len=*), intent(in) :: string
           print *, string
   end subroutine sub
 end program assumedLength
```

GDB:
```
(gdb) ptype string
type = character (5)
(gdb) p string
$1 = 'Hello'
```

Reviewed By: aprantl, schweitz

Differential Revision: https://reviews.llvm.org/D86305
2020-08-22 10:13:40 +05:30
..
Transforms Recommit "[IPConstProp] Remove and move tests to SCCP." 2020-08-02 22:23:54 +01:00
Analysis.h
BitReader.h
BitWriter.h
Comdat.h
Core.h [BFloat] Move LLVMBFloatTypeKind to the end of the enum 2020-06-19 01:51:44 +01:00
DataTypes.h Remove math.h/cmath include from DataTypes.h 2020-04-06 11:27:52 -07:00
DebugInfo.h [DebugInfo][flang]Added support for representing Fortran assumed length strings 2020-08-22 10:13:40 +05:30
Disassembler.h
DisassemblerTypes.h
Error.h
ErrorHandling.h
ExecutionEngine.h [MCJIT] Check for RuntimeDyld errors in MCJIT::finalizeLoadedModules. 2020-03-13 13:58:41 -07:00
ExternC.h
Initialization.h
IRReader.h
Linker.h
LinkTimeOptimizer.h
lto.h
module.modulemap
Object.h
Orc.h [ORC] Add an OrcV2 C API function for configuring TargetMachines. 2020-04-10 15:51:29 -07:00
OrcBindings.h
Remarks.h
Support.h
Target.h
TargetMachine.h
Types.h