commit | 4b46a7a447807db1488436cd6cc46940949b703d | [log] [tgz] |
---|---|---|
author | Lizan Zhou <lizan@tetrate.io> | Mon Sep 27 12:20:58 2021 -0700 |
committer | Lizan Zhou <lizan@tetrate.io> | Mon Sep 27 12:20:58 2021 -0700 |
tree | a1fbc4d072c95499fd6487221dfc1b34542cfeda | |
parent | dd2758b96dc8f9f4add81eaa4154b7e3d8be6873 [diff] |
Add -g in `per_object_debug_info` for Clang 12 and GCC 11
diff --git a/cc/private/toolchain/unix_cc_toolchain_config.bzl b/cc/private/toolchain/unix_cc_toolchain_config.bzl index c3cf3ba..fa15f22 100644 --- a/cc/private/toolchain/unix_cc_toolchain_config.bzl +++ b/cc/private/toolchain/unix_cc_toolchain_config.bzl
@@ -313,7 +313,7 @@ ], flag_groups = [ flag_group( - flags = ["-gsplit-dwarf"], + flags = ["-gsplit-dwarf", "-g"], expand_if_available = "per_object_debug_info_file", ), ],