[DanglingPtr] Enable dangling detection on Windows (#26904)
The only platform still being excluded from dangling pointer detection is Windows. This change removes the existing exclusion rule, which means that brave builds in all platforms using the same rules as upstream, and this includes Windows too. Resolves https://github.com/brave/brave-browser/issues/41957
This commit is contained in:
@@ -431,16 +431,6 @@ Config.prototype.buildArgs = function () {
|
||||
generate_about_credits: true,
|
||||
}
|
||||
|
||||
const danglingPtrEnabledPlatforms = ['android', 'linux', 'mac', 'ios']
|
||||
|
||||
if (!danglingPtrEnabledPlatforms.includes(this.getTargetOS())) {
|
||||
// We explicitly disabled the check for certain other OSes, while leaving
|
||||
// it as whatever is the default on the ones we've managed to get the
|
||||
// detector properly running.
|
||||
args.enable_dangling_raw_ptr_feature_flag = false
|
||||
}
|
||||
|
||||
|
||||
if (!this.isBraveReleaseBuild()) {
|
||||
args.chrome_pgo_phase = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user