47 Commits
Author SHA1 Message Date
Laytan 897c99a9a3 [core:debug/trace] remove os, fmt, slice, and strconv imports (#7408)
* [core:debug/trace] remove `os`, `fmt`, `slice`, and `strconv` imports

* [core:debug/trace]: print memory nicely

A bit of a modified, minimal core:fmt `%m` (to not need `core:strconv`)
2026-08-26 20:19:38 +02:00
A1029384756 1ac0b9bcdc [debug/trace] sync allocator with core:mem 2026-08-03 10:09:39 -04:00
A1029384756 8ee3c229b6 [debug/trace] remove TODO 2026-07-28 14:28:23 -04:00
A1029384756 e087c3f97d [debug/trace] sync tracking allocator with core:mem 2026-07-28 14:16:57 -04:00
Laytan Laats 0845ff2502 check error earlier in allocator, return count correctly in linux 2026-07-26 19:28:04 +02:00
Laytan Laats 065d58e5b8 use fallback when SYMBOLIZER_PROGRAM doesn't exist 2026-07-26 19:20:22 +02:00
Laytan Laats 8e28f32d2e clarify targets support 2026-07-26 19:06:10 +02:00
laytan dbd568c970 windows bad free fix, print formatting fix, and remove color from tracking allocator results 2026-07-26 16:55:22 +02:00
Laytan Laats ed0166bd16 undeclared mem_err 2026-07-26 17:39:40 +02:00
Laytan Laats a17aefac58 shadowing 2026-07-26 17:31:57 +02:00
Laytan Laats 0c17544322 typo 2026-07-26 17:29:09 +02:00
Laytan Laats 6170f130e1 use fmt so it runs on wasm 2026-07-26 17:28:29 +02:00
Laytan Laats 395290243e port my third-party back package to replace core:debug/trace 2026-07-26 17:12:51 +02:00
Adrian Hodos b0b5d6ad74 Link against libstdc++exp for backtrace support 2026-05-25 13:57:55 +03:00
jakubtomsu 83489c07f1 fix allocator error 2026-02-10 19:56:49 +01:00
jakubtomsu 26e4af28ad remove the actual fmt import from trace_cpp 2026-02-10 19:55:50 +01:00
jakubtomsu edd960905a fix typo in the trace cpp backend 2026-02-10 19:48:12 +01:00
jakubtomsu 77be6a1f18 fix tabs 2026-02-10 19:46:51 +01:00
jakubtomsu 0e2f5b7d70 remove strconv 2026-02-10 19:45:18 +01:00
jakubtomsu 874ffa0385 remove core:fmt dependency from core:debug/trace 2026-02-10 19:19:30 +01:00
Reshen 973d368c4c Fixing code example, trace_ctx variable was renamed
`trace_ctx` should actually be `global_trace_ctx`, as declared on line 10
2025-12-09 11:43:55 -08:00
Jeroen van Rijn ece213afca Render examples. 2025-10-10 12:24:28 +02:00
Jeroen van Rijn 7a9ea3ee6d Further overhaul of package line comments. 2025-10-09 23:05:29 +02:00
Jeroen van Rijn 288b45f50c package lines for encoding 2025-10-09 16:34:18 +02:00
Jeroen van Rijn aec7d6480b Package lines for base32, move its tests to tests" 2025-10-09 15:27:53 +02:00
Jeroen van Rijn 153b0de420 Package lines for core:debug 2025-10-09 15:18:23 +02:00
gingerBill bb4bc316a4 for in string16; Support string16 across core 2025-08-02 12:20:35 +01:00
Steve Biedermann 61610fa033 Use the proper size for SizeOfStruct 2025-03-30 18:11:41 +02:00
Karl Zylinski 19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. 2024-09-14 18:27:49 +02:00
Karl Zylinski 8c636ac37b Fix build tags that use ! multiple times on one line. Those don't actually do anything since build tags use OR within the line. So something like //+build !windows, !linux would actually build on both linux and windows. What was intended in all these cases was probably AND, which you get by splitting them into separate lines. 2024-09-07 22:02:17 +02:00
gingerBill 103eccf104 More style improvements 2024-06-29 19:23:58 +01:00
gingerBill 1747fdc3f0 Fix signature 2024-06-28 11:07:54 +01:00
gingerBill bef3ca98f0 Fix signature 2024-06-28 11:01:57 +01:00
gingerBill e15c5c4692 Fix missing import 2024-06-28 10:32:16 +01:00
gingerBill 950fd2d5ce Rename trace_linux.odin to trace_cpp.odin 2024-04-28 13:52:52 +01:00
gingerBill 74d75fb7fb Correct types on windows 2024-04-28 13:51:46 +01:00
gingerBill 7ee2c1084f Update doc.odin 2024-04-28 13:51:10 +01:00
gingerBill c0b7dd7da6 Remove need for allocator and MAX_FRAMES in trace.frames 2024-04-28 13:05:19 +01:00
gingerBill be09584ea5 Increase MAX_FRAMES 2024-04-28 12:56:53 +01:00
gingerBill 5ac8e8f9fd Add doc.odin 2024-04-28 12:52:02 +01:00
gingerBill 2eea06fc73 Set in_resolve for linux 2024-04-28 12:51:10 +01:00
gingerBill 0fa269811a Change layout of Frame_Location 2024-04-28 12:49:17 +01:00
gingerBill 6c185a5dca Add core:debug/trace for Linux 2024-04-28 12:43:27 +01:00
gingerBill 44c9b988bb Add default debug/trace to do nothing 2024-04-28 12:05:15 +01:00
gingerBill 362aa82f59 Begin work on core:debug/trace 2024-04-28 11:58:16 +01:00
gingerBill 9b15bda055 Add missing packages to examples/all 2023-06-07 22:48:39 +01:00
gingerBill 729ffeee09 Begin work on core:debug/pe 2022-09-17 18:45:33 +01:00