2021-10-04 23:47:27 -07:00
|
|
|
|
2024-08-01 14:18:16 -07:00
|
|
|
|
2017-10-31 04:47:55 -04:00
|
|
|
|
|
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
2022-01-22 22:52:27 +01:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
2019-05-24 22:52:07 -04:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
|
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
|
|
|
|
|
2016-08-17 20:11:04 -07:00
|
|
|
|
2024-08-01 13:40:47 -07:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
|
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2024-08-04 00:16:28 -07:00
|
|
|
|
2024-08-01 13:40:47 -07:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-02-01 07:37:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
2025-06-01 07:41:24 +01:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
2025-06-01 07:41:24 +01:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
2025-04-27 12:17:59 -07:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
2025-04-27 12:17:59 -07:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-01-24 02:19:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-02 17:45:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
|
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-05 15:09:02 -04:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
2018-07-05 15:09:02 -04:00
|
|
|
|
|
|
|
|
|
2022-06-25 21:27:56 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-09-03 11:23:44 +02:00
|
|
|
|
|
|
|
|
|
2022-06-25 21:27:56 -07:00
|
|
|
|
|
|
|
|
|
2024-08-16 11:07:18 +02:00
|
|
|
|
|
|
|
|
|
2024-10-01 12:45:34 +02:00
|
|
|
|
2022-06-25 21:27:56 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-23 13:12:45 +01:00
|
|
|
|
|
|
|
|
|
2022-06-25 21:27:56 -07:00
|
|
|
|
|
|
|
|
|
2025-03-23 13:12:45 +01:00
|
|
|
|
2022-06-25 21:27:56 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-24 08:22:47 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-28 21:33:40 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-10 12:58:47 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-11 14:09:04 +03:00
|
|
|
|
2025-07-10 12:58:47 -07:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2017-10-31 04:47:55 -04:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
|
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
2018-01-15 16:26:13 -05:00
|
|
|
|
|
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
2018-01-15 16:26:13 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
2024-01-08 00:21:57 -07:00
|
|
|
|
2024-07-22 09:00:08 +09:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-03-25 23:20:56 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
2024-01-08 00:21:57 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-08-03 09:02:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2025-03-25 23:20:56 +01:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2025-07-01 09:41:41 -07:00
|
|
|
|
2025-03-25 23:20:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-03-25 23:20:56 +01:00
|
|
|
|
|
|
|
|
|
2018-01-12 02:12:11 -05:00
|
|
|
|
2018-03-09 22:21:13 -05:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-18 13:11:37 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2019-05-27 02:16:05 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-12 02:12:11 -05:00
|
|
|
|
|
|
|
|
|
2024-07-18 23:35:19 -07:00
|
|
|
|
2023-07-09 14:45:34 -04:00
|
|
|
|
2023-07-07 10:13:48 -04:00
|
|
|
|
|
|
|
|
|
2023-07-08 01:16:11 -04:00
|
|
|
|
2023-07-06 22:02:47 -04:00
|
|
|
|
2023-05-25 13:11:21 -04:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-07-01 15:23:37 -04:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-05-25 13:11:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-09 14:45:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-09 14:45:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-18 23:35:19 -07:00
|
|
|
|
2023-07-09 14:45:34 -04:00
|
|
|
|
|
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-09 14:45:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-07-12 21:45:26 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-09 14:45:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-05-05 05:14:22 -06:00
|
|
|
|
2025-01-24 03:45:38 +01:00
|
|
|
|
2022-04-17 19:41:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-26 09:48:12 +01:00
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2023-05-29 01:26:30 -04:00
|
|
|
|
2025-05-14 05:38:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
2023-07-26 22:10:22 -04:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2022-10-15 16:58:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-07 21:24:44 +03:30
|
|
|
|
2022-10-15 16:58:29 +02:00
|
|
|
|
|
|
|
|
|
2023-07-26 22:10:22 -04:00
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-23 13:19:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2023-02-18 09:02:57 -07:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-02 22:02:45 -04:00
|
|
|
|
2022-06-17 22:05:41 -07:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
2023-02-18 09:02:57 -07:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2023-05-29 01:26:30 -04:00
|
|
|
|
2023-02-18 09:02:57 -07:00
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
2019-02-23 13:19:06 -05:00
|
|
|
|
|
|
|
|
|
2019-05-26 13:17:34 -04:00
|
|
|
|
|
|
|
|
|
2019-02-23 13:19:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-12 02:12:11 -05:00
|
|
|
|
2018-08-23 23:08:34 -04:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2020-05-05 05:14:22 -06:00
|
|
|
|
2025-01-24 03:45:38 +01:00
|
|
|
|
2022-04-17 19:41:05 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-17 19:41:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-26 09:48:12 +01:00
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2020-11-26 09:48:12 +01:00
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
|
|
|
|
|
2019-05-27 02:16:05 -04:00
|
|
|
|
2017-10-31 04:47:55 -04:00
|
|
|
|
|
|
|
|
|
2024-07-03 13:28:21 -07:00
|
|
|
|
|
|
|
|
|
2017-10-31 04:47:55 -04:00
|
|
|
|
|
|
|
|
|
2024-07-03 13:28:21 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-08 18:18:47 -05:00
|
|
|
|
2018-01-25 04:10:11 -05:00
|
|
|
|
2019-02-08 18:18:47 -05:00
|
|
|
|
2017-10-31 04:47:55 -04:00
|
|
|
|
|
|
|
|
|
2024-07-03 13:28:21 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-18 10:42:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-09-07 20:22:38 -07:00
|
|
|
|
2025-07-18 10:42:04 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2020-07-11 14:09:04 +03:00
|
|
|
|
2024-08-24 16:16:53 +01:00
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2021-06-26 11:28:03 -05:00
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2021-06-26 11:28:03 -05:00
|
|
|
|
2022-09-15 00:43:48 +03:00
|
|
|
|
2021-06-26 11:28:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-24 16:16:53 +01:00
|
|
|
|
2021-06-26 11:28:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2021-06-26 11:28:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-26 11:28:03 -05:00
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2018-03-09 22:21:13 -05:00
|
|
|
|
|
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
|
|
|
|
|
2023-11-22 18:49:18 -07:00
|
|
|
|
2018-03-09 22:21:13 -05:00
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
2024-08-24 16:16:53 +01:00
|
|
|
|
2017-06-14 00:04:34 -04:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
2025-05-20 02:44:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-16 01:16:15 +03:30
|
|
|
|
2025-05-20 02:44:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-28 13:14:45 -07:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
2024-10-07 01:33:42 +09:00
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-01 03:47:51 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-12 10:18:53 -07:00
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2020-05-05 05:14:22 -06:00
|
|
|
|
2020-02-18 19:03:31 +01:00
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
|
|
|
|
|
2024-02-18 21:52:23 -08:00
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
2024-09-26 14:24:18 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-01-24 04:20:55 +00:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2019-12-20 17:48:45 -05:00
|
|
|
|
2020-02-18 19:03:31 +01:00
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-28 06:59:11 -07:00
|
|
|
|
2019-12-20 17:48:45 -05:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2020-05-02 00:41:19 -04:00
|
|
|
|
2020-03-13 17:55:40 +01:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2018-01-15 16:26:13 -05:00
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
2024-02-18 21:52:23 -08:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-22 18:49:18 -07:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-23 13:19:06 -05:00
|
|
|
|
2021-10-04 23:47:27 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2019-02-23 13:19:06 -05:00
|
|
|
|
2019-06-14 18:45:41 -04:00
|
|
|
|
2019-02-23 13:19:06 -05:00
|
|
|
|
2023-06-02 22:02:45 -04:00
|
|
|
|
2018-01-12 02:12:11 -05:00
|
|
|
|
2018-01-14 10:19:21 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2018-01-12 02:12:11 -05:00
|
|
|
|
2022-09-25 20:18:15 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-09-25 20:18:15 -07:00
|
|
|
|
2018-01-12 02:12:11 -05:00
|
|
|
|
|
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2024-08-28 02:35:53 +01:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
|
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2024-08-01 22:04:40 -07:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-10 20:18:58 -04:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2024-08-12 03:51:48 +02:00
|
|
|
|
2021-04-25 19:10:11 +02:00
|
|
|
|
std.Target: Introduce Cpu convenience functions for feature tests.
Before:
* std.Target.arm.featureSetHas(target.cpu.features, .has_v7)
* std.Target.x86.featureSetHasAny(target.cpu.features, .{ .sse, .avx, .cmov })
* std.Target.wasm.featureSetHasAll(target.cpu.features, .{ .atomics, .bulk_memory })
After:
* target.cpu.has(.arm, .has_v7)
* target.cpu.hasAny(.x86, &.{ .sse, .avx, .cmov })
* target.cpu.hasAll(.wasm, &.{ .atomics, .bulk_memory })
2025-02-18 05:25:36 +01:00
|
|
|
|
2024-08-12 03:51:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-07-14 18:00:46 -07:00
|
|
|
|
2021-04-25 19:10:11 +02:00
|
|
|
|
|
|
|
|
|
2025-08-22 18:30:21 -07:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
2018-07-29 23:25:40 -04:00
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2023-07-18 22:51:52 -04:00
|
|
|
|
|
|
|
|
|
2025-01-24 03:45:38 +01:00
|
|
|
|
2024-10-29 22:12:57 +01:00
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
|
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2023-07-18 22:51:52 -04:00
|
|
|
|
|
|
|
|
|
2024-08-01 22:04:40 -07:00
|
|
|
|
2023-07-18 22:51:52 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
|
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
|
|
|
|
|
2023-05-29 01:26:30 -04:00
|
|
|
|
|
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-10 20:18:58 -04:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
|
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-02-05 00:28:07 +07:00
|
|
|
|
2021-04-28 22:58:12 -07:00
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-13 12:13:41 +02:00
|
|
|
|
2021-04-28 22:58:12 -07:00
|
|
|
|
2021-02-04 20:51:41 +07:00
|
|
|
|
|
|
|
|
|
2019-10-13 12:13:41 +02:00
|
|
|
|
|
|
|
|
|
2021-02-04 20:51:41 +07:00
|
|
|
|
2021-04-28 22:58:12 -07:00
|
|
|
|
2021-02-04 20:51:41 +07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-13 12:13:41 +02:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
|
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
|
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
|
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-07-08 01:16:11 -04:00
|
|
|
|
2024-05-09 15:04:13 +02:00
|
|
|
|
2023-07-08 16:39:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-01 22:04:40 -07:00
|
|
|
|
2025-01-23 20:55:20 +01:00
|
|
|
|
|
|
|
|
|
2024-08-01 22:04:40 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-08 16:39:38 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-08 01:16:11 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2025-01-23 20:55:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2023-07-10 20:18:58 -04:00
|
|
|
|
|
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
|
|
|
|
|
2023-07-11 01:06:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-22 14:45:24 -04:00
|
|
|
|
2023-07-11 01:06:41 -04:00
|
|
|
|
2023-07-18 22:51:52 -04:00
|
|
|
|
|
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
|
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-05-28 02:26:38 -04:00
|
|
|
|
|
|
|
|
|
2021-04-28 14:53:50 -07:00
|
|
|
|
2021-02-05 00:28:07 +07:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2021-02-05 00:28:07 +07:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2025-08-22 18:30:21 -07:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-19 11:40:46 +02:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2025-08-22 18:30:21 -07:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
2024-07-09 12:51:48 -04:00
|
|
|
|
2020-02-05 23:40:36 +01:00
|
|
|
|
|
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
|
|
|
|
|
2018-07-29 23:25:40 -04:00
|
|
|
|
2020-01-26 09:55:04 -05:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2020-01-26 09:55:04 -05:00
|
|
|
|
|
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2018-08-29 16:35:51 -04:00
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
|
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2025-08-27 21:35:45 +01:00
|
|
|
|
|
|
|
|
|
2023-05-29 01:26:30 -04:00
|
|
|
|
|
|
|
|
|
2018-12-02 18:54:04 -05:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2021-08-02 11:10:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-10-07 21:24:44 +03:30
|
|
|
|
2024-08-02 23:31:28 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2018-01-14 10:19:21 -05:00
|
|
|
|
|
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
2023-06-22 18:46:56 +01:00
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
2024-03-12 22:21:55 +11:00
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
2024-08-21 15:49:09 +02:00
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
2024-08-21 15:49:09 +02:00
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-15 13:14:16 +06:00
|
|
|
|
2023-01-04 14:54:49 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2018-09-12 14:26:21 -04:00
|
|
|
|
|
|
|
|
|
2018-08-29 16:35:51 -04:00
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2018-08-29 16:35:51 -04:00
|
|
|
|
2023-11-10 05:27:17 +00:00
|
|
|
|
2023-02-18 09:02:57 -07:00
|
|
|
|
2018-08-29 16:35:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2018-08-29 16:35:51 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2023-07-26 22:10:22 -04:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-26 22:10:22 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-23 14:06:35 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-23 14:06:35 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-23 14:06:35 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-02 18:15:36 -04:00
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2020-02-22 11:51:45 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2020-02-21 12:11:04 +01:00
|
|
|
|
2020-02-08 14:15:28 +01:00
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-07-10 18:43:19 -04:00
|
|
|
|
2023-04-18 00:01:41 -04:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2020-02-20 20:48:54 +01:00
|
|
|
|
2020-02-09 11:55:43 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2020-02-08 14:15:28 +01:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2020-02-22 12:44:21 +01:00
|
|
|
|
2020-02-08 14:15:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-02 19:34:11 -05:00
|
|
|
|
|
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2020-07-11 14:09:04 +03:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
2020-05-05 05:14:22 -06:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-01-21 20:51:57 +01:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
2020-01-21 20:51:57 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-21 20:51:57 +01:00
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2020-01-21 20:51:57 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-01-10 15:39:59 +01:00
|
|
|
|
2020-03-10 15:27:45 -04:00
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2020-03-10 19:28:05 -04:00
|
|
|
|
|
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2017-04-24 12:01:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-20 14:55:57 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-02 16:31:49 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-24 12:01:19 -04:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2017-04-24 12:01:19 -04:00
|
|
|
|
|
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2017-04-24 12:01:19 -04:00
|
|
|
|
2024-03-13 15:56:09 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2025-07-01 09:41:41 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std.debug: rename Info to SelfInfo
This code has the hard-coded goal of supporting the executable's own
debug information and makes design choices along that goal, such as
memory-mapping the inputs, using dl_iterate_phdr, and doing conditional
compilation on the host target.
A more general-purpose implementation of debug information may be able
to share code with this, but there are some fundamental
incompatibilities. For example, the "SelfInfo" implementation wants to
avoid bloating the binary with PDB on POSIX systems, and likewise DWARF
on Windows systems, while a general-purpose implementation needs to
support both PDB and DWARF from the same binary. It might, for example,
inspect the debug information from a cross-compiled binary.
`SourceLocation` now lives at `std.debug.SourceLocation` and is
documented.
Deprecate `std.debug.runtime_safety` because it returns the optimization
mode of the standard library, when the caller probably wants to use the
optimization mode of their own module.
`std.pdb.Pdb` is moved to `std.debug.Pdb`, mirroring the recent
extraction of `std.debug.Dwarf` from `std.dwarf`.
I have no idea why we have both Module (with a Windows-specific
definition) and WindowsModule. I left some passive aggressive doc
comments to express my frustration.
2024-08-01 16:31:03 -07:00
|
|
|
|
2024-05-29 10:20:15 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-02 20:54:48 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-02 20:54:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-02 20:54:48 -07:00
|
|
|
|
|
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-30 15:54:41 -07:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2025-06-30 15:54:41 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2025-01-29 14:16:25 -08:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-11-29 20:58:56 +01:00
|
|
|
|
|
|
|
|
|
2025-08-13 09:33:02 +02:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2017-04-24 12:01:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-23 16:11:34 -04:00
|
|
|
|
2021-10-29 00:37:25 +01:00
|
|
|
|
2018-04-15 20:15:19 -04:00
|
|
|
|
2021-10-29 00:37:25 +01:00
|
|
|
|
2018-04-15 20:15:19 -04:00
|
|
|
|
|
|
|
|
|
2019-11-25 17:25:06 -05:00
|
|
|
|
2021-10-29 02:08:41 +01:00
|
|
|
|
2021-10-29 00:37:25 +01:00
|
|
|
|
|
|
|
|
|
2018-04-15 20:15:19 -04:00
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
|
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2022-02-07 18:20:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-01 23:09:14 +11:00
|
|
|
|
2022-02-07 18:20:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-18 23:35:19 -07:00
|
|
|
|
2020-04-01 11:03:36 +02:00
|
|
|
|
|
|
|
|
|
2023-01-03 19:37:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
2024-07-21 13:31:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-21 10:14:44 +01:00
|
|
|
|
|
|
|
|
|
Fix simple doc mistakes. (#17624)
* Add missing period in Stack's description
This looks fine in the source, but looks bad when seen on the documentation website.
* Correct documentation for attachSegfaultHandler()
The description for attachSegfaultHandler() looks pretty bad without indicating that the stuff at the end is code
* Added missing 'the's in Queue.put's documentation
* Fixed several errors in Stack's documentation
`push()` and `pop()` were not styled as code
There was no period after `pop()`, which looks bad on the documentation.
* Fix multiple problems in base64.zig
Both "invalid"s in Base64.decoder were not capitalized.
Missing period in documentation of Base64DecoderWithIgnore.calcSizeUpperBound.
* Fix capitalization typos in bit_set.zig
In DynamicBitSetUnmanaged.deinit's and DynamicBitSet.deinit's documentation, "deinitializes" was uncapitalized.
* Fix typos in fifo.zig's documentation
Added a previously missing period to the end of the first line of LinearFifo.writableSlice's documentation.
Added missing periods to both lines of LinearFifo.pump's documentation.
* Fix typos in fmt.bufPrint's documentation
The starts of both lines were not capitalized.
* Fix minor documentation problems in fs/file.zig
Missing periods in documentation for Permissions.setReadOnly, PermissionsWindows.setReadOnly, MetadataUnix.created, MetadataLinux.created, and MetadataWindows.created.
* Fix a glaring typo in enums.zig
* Correct errors in fs.zig
* Fixed documentation problems in hash_map.zig
The added empty line in verify_context's documentation is needed, otherwise autodoc for some reason assumes that the list hasn't been terminated and continues reading off the rest of the documentation as if it were part of the second list item.
* Added lines between consecutive URLs in http.zig
Makes the documentation conform closer to what was intended.
* Fix wrongfully ended sentence in Uri.zig
* Handle wrongly entered comma in valgrind.zig.
* Add missing periods in wasm.zig's documentation
* Fix odd spacing in event/loop.zig
* Add missing period in http/Headers.zig
* Added missing period in io/limited_reader.zig
This isn't in the documentation due to what I guess is a limitation of autodoc, but it's clearly supposed to be. If it was, it would look pretty bad.
* Correct documentation in math/big/int.zig
* Correct formatting in math/big/rational.zig
* Create an actual link to ZIGNOR's paper.
* Fixed grammatical issues in sort/block.zig
This will not show up in the documentation currently.
* Fix typo in hash_map.zig
2023-10-21 17:24:55 -04:00
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
2019-07-03 10:16:52 -05:00
|
|
|
|
2025-04-22 14:19:06 -07:00
|
|
|
|
2022-01-17 17:46:48 +01:00
|
|
|
|
2025-04-22 14:19:06 -07:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
2024-07-21 13:31:06 +02:00
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
|
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-04-22 14:19:06 -07:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2025-04-22 14:19:06 -07:00
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
|
|
|
|
|
2024-07-21 13:31:06 +02:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
2025-01-15 17:53:05 +00:00
|
|
|
|
2019-07-22 12:15:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2023-06-15 13:14:16 +06:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-01 23:09:14 +11:00
|
|
|
|
2020-04-01 11:03:36 +02:00
|
|
|
|
|
|
|
|
|
2020-11-28 15:31:26 +01:00
|
|
|
|
2023-11-26 02:06:54 -05:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-18 21:52:23 -08:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
2024-06-11 15:14:06 -07:00
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2023-11-26 02:06:54 -05:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-11-26 02:06:54 -05:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
2024-08-01 22:04:40 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-10-29 19:21:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-10-29 19:21:32 +01:00
|
|
|
|
|
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2020-11-28 15:31:26 +01:00
|
|
|
|
2021-04-12 16:43:50 -07:00
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-04 08:29:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
2024-11-04 08:29:18 +01:00
|
|
|
|
2023-05-15 01:52:53 -04:00
|
|
|
|
2025-05-14 05:38:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2019-10-01 15:57:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-02 13:27:40 -04:00
|
|
|
|
2019-07-03 10:16:52 -05:00
|
|
|
|
2024-11-01 01:06:45 +01:00
|
|
|
|
2019-07-03 10:16:52 -05:00
|
|
|
|
2020-01-29 16:57:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-03 10:16:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-11 20:22:49 -04:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
compiler: tlv pointers are not comptime-known
Pointers to thread-local variables do not have their addresses known
until runtime, so it is nonsensical for them to be comptime-known. There
was logic in the compiler which was essentially attempting to treat them
as not being comptime-known despite the pointer being an interned value.
This was a bit of a mess, the check was frequent enough to actually show
up in compiler profiles, and it was very awkward for backends to deal
with, because they had to grapple with the fact that a "constant" they
were lowering might actually require runtime operations.
So, instead, do not consider these pointers to be comptime-known in
*any* way. Never intern such a pointer; instead, when the address of a
threadlocal is taken, emit an AIR instruction which computes the pointer
at runtime. This avoids lots of special handling for TLVs across
basically all codegen backends; of all somewhat-functional backends, the
only one which wasn't improved by this change was the LLVM backend,
because LLVM pretends this complexity around threadlocals doesn't exist.
This change simplifies Sema and codegen, avoids a potential source of
bugs, and potentially improves Sema performance very slightly by
avoiding a non-trivial check on a hot path.
2025-05-26 22:59:01 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-29 16:57:43 +02:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-06-28 06:59:11 -07:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-29 16:57:43 +02:00
|
|
|
|
|
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-06-27 02:02:49 -04:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2023-04-08 08:36:31 -07:00
|
|
|
|
|
|
|
|
|
2019-09-11 20:22:49 -04:00
|
|
|
|
2019-09-25 18:17:29 +03:00
|
|
|
|
2021-08-29 11:57:32 +02:00
|
|
|
|
2019-09-25 18:17:29 +03:00
|
|
|
|
2024-09-25 11:11:48 -07:00
|
|
|
|
2019-09-11 20:22:49 -04:00
|
|
|
|
2022-04-21 10:14:23 +02:00
|
|
|
|
2022-12-15 15:56:13 -07:00
|
|
|
|
2023-11-30 14:27:18 -05:00
|
|
|
|
|
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2022-04-21 10:14:23 +02:00
|
|
|
|
2024-03-18 22:39:59 -07:00
|
|
|
|
2023-01-29 12:48:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-16 16:08:18 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
2022-04-21 10:14:23 +02:00
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2022-04-21 10:14:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
2022-06-08 12:55:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-16 16:55:49 +03:00
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
2024-05-24 10:34:29 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
2022-06-08 12:55:24 -07:00
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
2024-05-24 10:34:29 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-08-16 16:55:49 +03:00
|
|
|
|
2022-06-08 12:55:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-08 12:55:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
2022-06-08 12:55:24 -07:00
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-08 12:55:24 -07:00
|
|
|
|
|
|
|
|
|
2025-08-27 21:20:18 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
|
|
|
|
|
2022-10-03 20:04:30 +03:30
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-02-18 09:02:57 -07:00
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-22 17:10:32 -07:00
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-12 00:57:59 -07:00
|
|
|
|
|
|
|
|
|
2025-01-20 02:01:55 +03:00
|
|
|
|
2022-06-12 00:57:59 -07:00
|
|
|
|
2025-08-31 12:48:45 -07:00
|
|
|
|
2025-06-27 20:05:22 -07:00
|
|
|
|
2022-06-12 00:57:59 -07:00
|
|
|
|
2022-11-12 20:03:24 +01:00
|
|
|
|
2022-06-12 00:57:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-07 17:48:53 -07:00
|
|
|
|
|
|
|
|
|
2024-01-08 00:21:57 -07:00
|
|
|
|
2024-03-16 15:45:10 -07:00
|
|
|
|
2024-10-07 01:16:20 -07:00
|
|
|
|
2024-03-16 15:45:10 -07:00
|
|
|
|
2024-10-07 01:16:20 -07:00
|
|
|
|
2024-03-16 15:45:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-07 01:16:20 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-16 15:45:10 -07:00
|
|
|
|
|
|
|
|
|
2024-10-07 01:16:20 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-21 14:35:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-01-08 00:21:57 -07:00
|
|
|
|
2024-08-02 12:00:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-22 09:00:08 +09:00
|
|
|
|
2024-01-08 00:21:57 -07:00
|
|
|
|