From 09100b9e535c856bd28bc313a7f8817f17aab3a0 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 9 Feb 2022 14:40:04 -0800 Subject: [PATCH] Enable per_object_debug_info feature by default This feature is used as a flag to determine that the current toolchain supports per object file debug info, it is only consulted when `--fission` is enabled for the current compilation mode. Previously you had to enable fission and this flag, with this change enabling fission by itself should be enough. Related: https://github.com/bazelbuild/bazel/issues/11561 --- tools/cpp/unix_cc_toolchain_config.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cpp/unix_cc_toolchain_config.bzl b/tools/cpp/unix_cc_toolchain_config.bzl index 39ecc527e563be..806949e690a2a0 100644 --- a/tools/cpp/unix_cc_toolchain_config.bzl +++ b/tools/cpp/unix_cc_toolchain_config.bzl @@ -376,6 +376,7 @@ def _impl(ctx): per_object_debug_info_feature = feature( name = "per_object_debug_info", + enabled = True, flag_sets = [ flag_set( actions = [