mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
debug: lld-link /verbose
This commit is contained in:
23
.github/actions/build-electron/action.yml
vendored
23
.github/actions/build-electron/action.yml
vendored
@@ -1,30 +1,30 @@
|
||||
name: 'Build Electron'
|
||||
description: 'Builds Electron & Friends'
|
||||
name: "Build Electron"
|
||||
description: "Builds Electron & Friends"
|
||||
inputs:
|
||||
target-arch:
|
||||
description: 'Target arch'
|
||||
description: "Target arch"
|
||||
required: true
|
||||
target-platform:
|
||||
description: 'Target platform, should be linux, win, macos'
|
||||
description: "Target platform, should be linux, win, macos"
|
||||
required: true
|
||||
artifact-platform:
|
||||
description: 'Artifact platform, should be linux, win, darwin or mas'
|
||||
description: "Artifact platform, should be linux, win, darwin or mas"
|
||||
required: true
|
||||
step-suffix:
|
||||
description: 'Suffix for build steps'
|
||||
description: "Suffix for build steps"
|
||||
required: false
|
||||
default: ''
|
||||
default: ""
|
||||
is-release:
|
||||
description: 'Is release build'
|
||||
description: "Is release build"
|
||||
required: true
|
||||
generate-symbols:
|
||||
description: 'Generate symbols'
|
||||
description: "Generate symbols"
|
||||
required: true
|
||||
upload-to-storage:
|
||||
description: 'Upload to storage'
|
||||
description: "Upload to storage"
|
||||
required: true
|
||||
is-asan:
|
||||
description: 'The ASan Linux build'
|
||||
description: "The ASan Linux build"
|
||||
required: false
|
||||
runs:
|
||||
using: "composite"
|
||||
@@ -48,6 +48,7 @@ runs:
|
||||
if: ${{ inputs.target-platform != 'win' }}
|
||||
shell: bash
|
||||
run: |
|
||||
exit 1 # Only interested in testing windows builds
|
||||
rm -rf "src/out/Default/Electron Framework.framework"
|
||||
rm -rf src/out/Default/Electron*.app
|
||||
|
||||
|
||||
@@ -143,3 +143,4 @@ chore_disable_protocol_handler_dcheck.patch
|
||||
fix_check_for_file_existence_before_setting_mtime.patch
|
||||
fix_linux_tray_id.patch
|
||||
expose_gtk_ui_platform_field.patch
|
||||
debug_lld-link_verbose.patch
|
||||
|
||||
18
patches/chromium/debug_lld-link_verbose.patch
Normal file
18
patches/chromium/debug_lld-link_verbose.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Calvin Watford <cwatford@makenotion.com>
|
||||
Date: Fri, 2 Jan 2026 14:39:56 -0800
|
||||
Subject: debug: lld-link /verbose
|
||||
|
||||
|
||||
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
|
||||
index 4e4ab177d4f2168418d58219183c9857a7316eb9..b347af18c1f6da918ef335e182072d61fdd13b45 100644
|
||||
--- a/build/config/win/BUILD.gn
|
||||
+++ b/build/config/win/BUILD.gn
|
||||
@@ -159,6 +159,7 @@ config("compiler") {
|
||||
|
||||
# Don't look for libpaths in %LIB%, similar to /X in cflags above.
|
||||
ldflags += [ "/lldignoreenv" ]
|
||||
+ ldflags += [ "/verbose" ] # CI-only: verbose lld-link output for debugging.
|
||||
}
|
||||
|
||||
# Some binaries create PDBs larger than 4 GiB. Increasing the PDB page size
|
||||
Reference in New Issue
Block a user