Add a -gmodules option to the driver and a -dwarf-ext-refs to cc1
to enable the use of external type references in the debug info (a.k.a. module debugging). The driver expands -gmodules to "-g -fmodule-format=obj -dwarf-ext-refs" and passes that to cc1. All this does at the moment is set a flag codegenopts. http://reviews.llvm.org/D11958 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246192 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/CommandGuide/clang.rst 7 additions, 0 deletionsdocs/CommandGuide/clang.rst
- include/clang/Driver/CC1Options.td 3 additions, 0 deletionsinclude/clang/Driver/CC1Options.td
- include/clang/Driver/Options.td 3 additions, 0 deletionsinclude/clang/Driver/Options.td
- include/clang/Frontend/ASTUnit.h 2 additions, 2 deletionsinclude/clang/Frontend/ASTUnit.h
- include/clang/Frontend/CodeGenOptions.def 3 additions, 0 deletionsinclude/clang/Frontend/CodeGenOptions.def
- include/clang/Lex/HeaderSearchOptions.h 5 additions, 2 deletionsinclude/clang/Lex/HeaderSearchOptions.h
- lib/CodeGen/CGDebugInfo.cpp 1 addition, 0 deletionslib/CodeGen/CGDebugInfo.cpp
- lib/CodeGen/CGDebugInfo.h 1 addition, 0 deletionslib/CodeGen/CGDebugInfo.h
- lib/CodeGen/ObjectFilePCHContainerOperations.cpp 1 addition, 0 deletionslib/CodeGen/ObjectFilePCHContainerOperations.cpp
- lib/Driver/Tools.cpp 6 additions, 0 deletionslib/Driver/Tools.cpp
- lib/Frontend/ASTUnit.cpp 5 additions, 5 deletionslib/Frontend/ASTUnit.cpp
- lib/Frontend/CompilerInvocation.cpp 1 addition, 0 deletionslib/Frontend/CompilerInvocation.cpp
- lib/Frontend/FrontendAction.cpp 3 additions, 3 deletionslib/Frontend/FrontendAction.cpp
- lib/Lex/HeaderSearch.cpp 1 addition, 1 deletionlib/Lex/HeaderSearch.cpp
- test/Driver/debug-options.c 5 additions, 0 deletionstest/Driver/debug-options.c
- tools/libclang/CIndex.cpp 2 additions, 1 deletiontools/libclang/CIndex.cpp
Loading
Please register or sign in to comment