generated from unoplatform/template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a0ee1b
commit e4c0b80
Showing
1 changed file
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 373eb7e1b334671fbf5db14051f7da3c6ec9142a Mon Sep 17 00:00:00 2001 | ||
From: Jerome Laban <[email protected]> | ||
Date: Wed, 31 Jul 2024 15:14:21 -0400 | ||
Subject: [PATCH] chore: Enable stack profiling | ||
|
||
--- | ||
src/mono/browser/browser.proj | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/src/mono/browser/browser.proj b/src/mono/browser/browser.proj | ||
index 316f644ccc1..9953a729783 100644 | ||
--- a/src/mono/browser/browser.proj | ||
+++ b/src/mono/browser/browser.proj | ||
@@ -299,6 +299,8 @@ | ||
<_EmccLinkFlags Include="-s WASM_BIGINT=1" /> | ||
<_EmccLinkFlags Include="-s EXPORT_NAME="'createDotnetRuntime'"" /> | ||
<_EmccLinkFlags Include="-s MODULARIZE=1" /> | ||
+ | ||
+ <_EmccLinkFlags Include="--profiling" /> | ||
|
||
<_EmccLinkFlags Include="-s ENVIRONMENT="web,webview,worker,node,shell"" /> | ||
<!-- remove -Wno-limited-postlink-optimizations once below issue is fixed | ||
-- | ||
2.45.0.windows.1 | ||
|