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. llvm-svn: 62888
Showing
- llvm/include/llvm/Analysis/DebugInfo.h 5 additions, 1 deletionllvm/include/llvm/Analysis/DebugInfo.h
- llvm/include/llvm/Support/Dwarf.h 5 additions, 1 deletionllvm/include/llvm/Support/Dwarf.h
- llvm/lib/Analysis/DebugInfo.cpp 6 additions, 2 deletionsllvm/lib/Analysis/DebugInfo.cpp
- llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp 5 additions, 0 deletionsllvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
- llvm/lib/Support/Dwarf.cpp 2 additions, 0 deletionsllvm/lib/Support/Dwarf.cpp
Loading
Please register or sign in to comment