-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
- Loading branch information
Showing
13 changed files
with
176 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
diff --git a/toolchains/configs/linux/clang/cc/cc_toolchain_config.bzl b/toolchains/configs/linux/clang/cc/cc_toolchain_config.bzl | ||
index 5dbaa86..3c90e3b 100755 | ||
--- a/toolchains/configs/linux/clang/cc/cc_toolchain_config.bzl | ||
+++ b/toolchains/configs/linux/clang/cc/cc_toolchain_config.bzl | ||
@@ -386,7 +386,7 @@ def _impl(ctx): | ||
], | ||
flag_groups = [ | ||
flag_group( | ||
- flags = ["-gsplit-dwarf"], | ||
+ flags = ["-gsplit-dwarf", "-g"], | ||
expand_if_available = "per_object_debug_info_file", | ||
), | ||
], | ||
diff --git a/toolchains/configs/linux/clang_libcxx/cc/cc_toolchain_config.bzl b/toolchains/configs/linux/clang_libcxx/cc/cc_toolchain_config.bzl | ||
index 5dbaa86..3c90e3b 100755 | ||
--- a/toolchains/configs/linux/clang_libcxx/cc/cc_toolchain_config.bzl | ||
+++ b/toolchains/configs/linux/clang_libcxx/cc/cc_toolchain_config.bzl | ||
@@ -386,7 +386,7 @@ def _impl(ctx): | ||
], | ||
flag_groups = [ | ||
flag_group( | ||
- flags = ["-gsplit-dwarf"], | ||
+ flags = ["-gsplit-dwarf", "-g"], | ||
expand_if_available = "per_object_debug_info_file", | ||
), | ||
], | ||
diff --git a/toolchains/configs/linux/gcc/cc/cc_toolchain_config.bzl b/toolchains/configs/linux/gcc/cc/cc_toolchain_config.bzl | ||
index 5dbaa86..3c90e3b 100755 | ||
--- a/toolchains/configs/linux/gcc/cc/cc_toolchain_config.bzl | ||
+++ b/toolchains/configs/linux/gcc/cc/cc_toolchain_config.bzl | ||
@@ -386,7 +386,7 @@ def _impl(ctx): | ||
], | ||
flag_groups = [ | ||
flag_group( | ||
- flags = ["-gsplit-dwarf"], | ||
+ flags = ["-gsplit-dwarf", "-g"], | ||
expand_if_available = "per_object_debug_info_file", | ||
), | ||
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/cc/private/toolchain/unix_cc_toolchain_config.bzl b/cc/private/toolchain/unix_cc_toolchain_config.bzl | ||
index c3cf3ba..d207bbd 100644 | ||
--- a/cc/private/toolchain/unix_cc_toolchain_config.bzl | ||
+++ b/cc/private/toolchain/unix_cc_toolchain_config.bzl | ||
@@ -313,7 +313,7 @@ def _impl(ctx): | ||
], | ||
flag_groups = [ | ||
flag_group( | ||
- flags = ["-gsplit-dwarf"], | ||
+ flags = ["-gsplit-dwarf", "-g"], | ||
expand_if_available = "per_object_debug_info_file", | ||
), | ||
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.