llvm/include/llvm-c
Adrian Prantl cb7b458c96 Remove the obsolete BlockByRefStruct flag from LLVM IR
DIFlagBlockByRefStruct is an unused DIFlag that originally was used by
clang to express (Objective-)C block captures in debug info. For the
last year Clang has been emitting complex DIExpressions to describe
block captures instead, which makes all the code supporting this flag
redundant.

This patch removes the flag and all supporting "dead" code, so we can
reuse the bit for something else in the future.

Since this only affects debug info generated by Clang with the block
extension this mostly affects Apple platforms and I don't have any
bitcode compatibility concerns for removing this. The Verifier will
reject debug info that uses the bit and thus degrade gracefully when
LTO'ing older bitcode with a newer compiler.

rdar://problem/44304813

Differential Revision: https://reviews.llvm.org/D67453

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372272 91177308-0d34-0410-b5e6-96231b3b80d8
2019-09-18 22:38:56 +00:00
..
Transforms [LLVM-C] Improve Bindings to The Internalize Pass 2019-07-23 04:56:44 +00:00
Analysis.h
BitReader.h
BitWriter.h
Comdat.h
Core.h Revert "Expose TailCallKind via the LLVM C API" 2019-08-15 03:49:51 +00:00
DataTypes.h
DebugInfo.h Remove the obsolete BlockByRefStruct flag from LLVM IR 2019-09-18 22:38:56 +00:00
Disassembler.h
DisassemblerTypes.h
Error.h [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype 2019-05-06 06:42:06 +00:00
ErrorHandling.h
ExecutionEngine.h
Initialization.h
IRReader.h
Linker.h
LinkTimeOptimizer.h
lto.h [LTO][Legacy] Add new C inferface to query libcall functions 2019-09-16 18:49:54 +00:00
module.modulemap
Object.h [LLVM-C] Add Accessor for Mach-O Universal Binary Slices 2019-05-25 16:47:27 +00:00
OrcBindings.h
Remarks.h [Remarks] Add parser for bitstream remarks 2019-09-09 17:43:50 +00:00
Support.h
Target.h Remove MSVC compat hack since the inline keyword was added in 2015 2019-03-19 21:40:59 +00:00
TargetMachine.h
Types.h [LLVM-C] Begin to Expose A More General Binary Interface 2019-04-05 21:36:50 +00:00