bazelbuild / rules_cc

C++ Rules for Bazel
https://bazel.build
Apache License 2.0
182 stars 90 forks source link

Add -g in `per_object_debug_info` for Clang 12 and GCC 11 #115

Closed lizan closed 2 years ago

lizan commented 2 years ago

Context: https://github.com/bazelbuild/bazel/issues/14038

From https://reviews.llvm.org/D80391

To restore the original behavior, replace -gsplit-dwarf with -gsplit-dwarf -g