Introduce two DWARF attribute extentions DW_AT_APPLE_optimized, DW_AT_APPLE_flags.
authorDevang Patel <dpatel@apple.com>
Fri, 23 Jan 2009 22:33:47 +0000 (22:33 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 23 Jan 2009 22:33:47 +0000 (22:33 +0000)
commit3b64c6bc2916bc62a99ef8a2995a426d994e1a04
treecc7d737ff28292510cd2195c01a8d164017363ae
parent91387de8cece07e871e02148d62fd3f17d831cad
Introduce two DWARF attribute extentions DW_AT_APPLE_optimized, DW_AT_APPLE_flags.

DW_AT_APPLE_optimized flag is set when a compile_unit is optimized. The debugger takes advantage of this information some way.

DW_AT_APPLE_flags encodes command line options when certain env. variable is set. This is used by build engineers to track various gcc command lines used by by  a project, irrespective of whether the project used makefile, Xcode or something else.

llvm-gcc patch is next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62888 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
include/llvm/Support/Dwarf.h
lib/Analysis/DebugInfo.cpp
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
lib/Support/Dwarf.cpp