Add a debug info code generation level to the compile unit metadata
authorEric Christopher <echristo@gmail.com>
Thu, 27 Feb 2014 01:24:56 +0000 (01:24 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 27 Feb 2014 01:24:56 +0000 (01:24 +0000)
commit0181303087b3b341e32e8b9a4abd38e9af812318
treed30cdb8eef98b7cbb8ba482f5c4265758f5bd551
parentdac5e919df13fd004e637126af7e658f4bb8ab4e
Add a debug info code generation level to the compile unit metadata
and update everything accordingly. This can be used to conditionalize
the amount of output in the backend based on the amount of debug
requested/metadata emission scheme by a front end (e.g. clang).

Paired with a commit to clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202332 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DIBuilder.h
include/llvm/DebugInfo.h
lib/IR/DIBuilder.cpp
lib/IR/DebugInfo.cpp
test/DebugInfo/2010-03-19-DbgDeclare.ll
test/Transforms/StripSymbols/2010-08-25-crash.ll
test/Transforms/StripSymbols/strip-dead-debug-info.ll