]> granicus.if.org Git - clang/commit
[CC1Option] Add the option to enable the debug entry values
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Wed, 26 Jun 2019 09:38:09 +0000 (09:38 +0000)
committerDjordje Todorovic <djordje.todorovic@rt-rk.com>
Wed, 26 Jun 2019 09:38:09 +0000 (09:38 +0000)
commitf0efff4cb36155e3980748205c55366e66ffab3e
treef9b64e158e2f47adadca7438bd5dee171b16e01c
parent608c299a9082b44145d604af4056d9f419f55fe8
[CC1Option] Add the option to enable the debug entry values

The option enables debug info about parameter's entry values.

The example of using the option:

clang -g -O2 -Xclang -femit-debug-entry-values test.c

In addition, when the option is set add the flag all_call_sites
in a subprogram in order to support GNU extension as well.

([3/13] Introduce the debug entry values.)

Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>
Differential Revision: https://reviews.llvm.org/D58033

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364399 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/CodeGenOptions.def
include/clang/Driver/CC1Options.td
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGDebugInfo.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenCXX/dbg-info-all-calls-described.cpp