From 5e13f86fc85bb1a89f27faf3051c53d8f678bea4 Mon Sep 17 00:00:00 2001 From: cmtice Date: Thu, 22 Apr 2021 03:17:16 +0000 Subject: [PATCH] Make DWARF v5 the default debug information format. This makes DWARF v5 the default debug information format for C/C++ programs in the Platform that are compiled with LLVM. Test: Testing in progress. Bug: b/182004844 Change-Id: I9aa6a3ca05ac0fdfa54f556c2e20ffd818b25420 --- cc/config/global.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/config/global.go b/cc/config/global.go index ed18300c3..37906765e 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -46,6 +46,7 @@ var ( "-O2", "-g", + "-fdebug-default-version=5", "-fdebug-info-for-profiling", "-fno-strict-aliasing",