aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
Commit message (Expand)AuthorAgeFilesLines
* Cache const `string16` in LLVMgingerBill2025-08-021-0/+1
* Add `string16` and `cstring16` (UTF-16 based strings)gingerBill2025-08-021-1/+1
* Add `cast` backgingerBill2025-02-201-1/+1
* Use `PtrMap` temporarilygingerBill2025-02-201-1/+1
* Add `TypeWriter` stream to allow for in-place hashing and string generationgingerBill2025-02-181-2/+2
* Keep MSVC happy with secure versions of C callsgingerBill2024-07-151-0/+2
* Change allocator to permanentgingerBill2024-04-081-2/+2
* Obfuscate `#line`gingerBill2024-04-081-0/+8
* Obfuscate `#file` and `#procedure` when `-obfuscate-source-code-locations` is...gingerBill2024-04-081-0/+13
* Serialize errors to make them sortable, deterministic, and generally more con...gingerBill2024-03-191-1/+1
* Allow compound literals to access fields through `using`gingerBill2023-02-261-0/+5
* Rename built-in procedure to `expand_values`gingerBill2023-02-071-4/+4
* Correct `mpsc_dequeue`gingerBill2023-01-121-1/+11
* Add `ArenaTemp` to the compilergingerBill2023-01-121-0/+4
* General improves to `alloc_ast_node` and other unnecessary checksgingerBill2023-01-031-1/+1
* Make all maps use heap allocator implicitlygingerBill2023-01-031-1/+1
* move to work-stealing threadpoolColin Davidson2022-12-281-2/+3
* Remove dead code in the compilergingerBill2022-12-181-0/+9
* `gb_internal` a lotgingerBill2022-12-181-45/+45
* Add Windows 32-bit build system errorgingerBill2022-09-071-0/+4
* Make `#simd` an opaque typegingerBill2022-05-251-0/+7
* Compiler: Add early error for output path being a directory.Jeroen van Rijn2022-04-241-256/+1
* initial OpenBSD supportSébastien Marie2022-02-251-1/+1
* Minimize memory usage by having an arena per thread rather than an arena per ...gingerBill2022-02-181-1/+1
* Improve usage of `file_id`gingerBill2021-11-151-12/+51
* Unify `MapFindResult` typesgingerBill2021-11-051-2/+1
* Move more things to `PtrMap`gingerBill2021-11-051-4/+4
* Add `PtrMap`, begin working change `Map` to `PtrMap` where possiblegingerBill2021-11-051-0/+1
* Write a `log(n)` fallback for `llvm_vector_reduce_add`gingerBill2021-10-281-1/+11
* Copying file contents rather than memory mappinggingerBill2021-10-121-25/+25
* Add @(init) attribute for procedures, allowing for procedures to be called at...gingerBill2021-10-031-0/+33
* Correct levenshtein distancePhil H2021-09-231-2/+2
* Force file copy on `odin strip-semicolon`gingerBill2021-09-181-63/+63
* Refactor `init_tokenizer_with_data` to file memory mapping (Windows only curr...gingerBill2021-09-181-0/+121
* Unify thread pool logic across the rest of the compiler, using a global threa...gingerBill2021-08-261-3/+1
* Minor fixesgingerBill2021-08-261-1/+5
* Change the implementation of `Arena` to use virtual memory, and remove the ol...gingerBill2021-08-261-385/+6
* Migrate and remove more from gb.hgingerBill2021-08-191-128/+2
* Move more of `gb.h`'s Synchronization code into common.cppgingerBill2021-08-191-23/+93
* Remove attribute parameter for `pthread_mutex_init`gingerBill2021-08-181-3/+1
* Make `BlockingMutex` non-recursive on *nix systemsgingerBill2021-08-181-6/+10
* Remove unused codegingerBill2021-08-181-3/+0
* Make `Arena` allocate virtual memory directory; make it use a `BlockingMutex`gingerBill2021-08-181-45/+26
* Fix typogingerBill2021-08-071-6/+6
* Inline heap_allocator resize logic on *nix platformsgingerBill2021-08-071-40/+42
* Improve and simplify the memory layout of `MPMCQueue`gingerBill2021-08-071-0/+22
* Give `begin_error_block` its own recursive mutexgingerBill2021-07-291-1/+1
* Modify MPMCQueue behaviour to use `i32` over `isize`; Correct cache line padd...gingerBill2021-07-281-1/+13
* Define which mutexes are blocking and recursive explicitlygingerBill2021-07-271-38/+58
* Improve default scope sizegingerBill2021-07-271-1/+2