# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/dart/hotfix-no-symbols.patch # Copyright (C) 2024 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- dart/sdk/runtime/tools/dart_profiler_symbols.py.vanilla 2024-06-17 14:47:18.751093103 +0200 +++ dart/sdk/runtime/tools/dart_profiler_symbols.py 2024-06-17 14:53:34.048576473 +0200 @@ -75,8 +75,8 @@ continue symbols.append(Symbol(offset, size, name.encode('utf-8'))) -if len(symbols) == 0: - raise Exception(binary + " has no symbols") +#if len(symbols) == 0: +# raise Exception(binary + " has no symbols") stream = open(output, "wb") stream.write(struct.pack("I", len(symbols)))