Pass must_keep_debug = False to cc_common.create_link_variables (#1046)

This commit is contained in:
Jeremy Volkman 2023-04-26 01:27:11 -07:00 committed by GitHub
parent 362d02c262
commit 020854719e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -268,6 +268,7 @@ def get_flags_info(ctx, link_output_file = None):
feature_configuration = feature_configuration, feature_configuration = feature_configuration,
is_using_linker = True, is_using_linker = True,
is_linking_dynamic_library = True, is_linking_dynamic_library = True,
must_keep_debug = False,
), ),
), ),
cxx_linker_static = cc_common.get_memory_inefficient_command_line( cxx_linker_static = cc_common.get_memory_inefficient_command_line(
@ -278,6 +279,7 @@ def get_flags_info(ctx, link_output_file = None):
feature_configuration = feature_configuration, feature_configuration = feature_configuration,
is_using_linker = False, is_using_linker = False,
is_linking_dynamic_library = False, is_linking_dynamic_library = False,
must_keep_debug = False,
output_file = link_output_file, output_file = link_output_file,
), ),
), ),
@ -289,6 +291,7 @@ def get_flags_info(ctx, link_output_file = None):
feature_configuration = feature_configuration, feature_configuration = feature_configuration,
is_using_linker = True, is_using_linker = True,
is_linking_dynamic_library = False, is_linking_dynamic_library = False,
must_keep_debug = False,
), ),
), ),
assemble = cc_common.get_memory_inefficient_command_line( assemble = cc_common.get_memory_inefficient_command_line(