* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / develop / dart / hotfix-no-symbols.patch
blobb342dbc3ee87ad6f7b7a7f49cdedce68c5c16592
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/dart/hotfix-no-symbols.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- dart/sdk/runtime/tools/dart_profiler_symbols.py.vanilla 2024-06-17 14:47:18.751093103 +0200
15 +++ dart/sdk/runtime/tools/dart_profiler_symbols.py 2024-06-17 14:53:34.048576473 +0200
16 @@ -75,8 +75,8 @@
17 continue
18 symbols.append(Symbol(offset, size, name.encode('utf-8')))
20 -if len(symbols) == 0:
21 - raise Exception(binary + " has no symbols")
22 +#if len(symbols) == 0:
23 +# raise Exception(binary + " has no symbols")
25 stream = open(output, "wb")
26 stream.write(struct.pack("I", len(symbols)))