aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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` ↵gingerBill2024-04-081-0/+13
| | | | is enabled
* Serialize errors to make them sortable, deterministic, and generally more ↵gingerBill2024-03-191-1/+1
| | | | control
* 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
| | | | | | | | | | | | - Introduce new `Path` type and an array of build paths on the build context. - Resolve input and output paths/files early (before parsing). - Error early if inputs are missing or outputs are directories. - Plumb new file path generation into linker stage instead of its adhoc method. TODO: - Remove more adhoc file path generation in parser and linker stage. - Make intermediate object file generation use new path system. - Round out and robustify Path helper functions.
* 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
| | | | file
* 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
| | | | This may be what LLVM does at any rate
* Copying file contents rather than memory mappinggingerBill2021-10-121-25/+25
|
* Add @(init) attribute for procedures, allowing for procedures to be called ↵gingerBill2021-10-031-0/+33
| | | | | | at startup These procedures will be called after global variables have been initialized as normal
* 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 ↵gingerBill2021-09-181-0/+121
| | | | currently)
* Unify thread pool logic across the rest of the compiler, using a global ↵gingerBill2021-08-261-3/+1
| | | | thread pool
* Minor fixesgingerBill2021-08-261-1/+5
|
* Change the implementation of `Arena` to use virtual memory, and remove the ↵gingerBill2021-08-261-385/+6
| | | | old gbArena code
* 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 ↵gingerBill2021-07-281-1/+13
| | | | padding within MPMCQueue
* Define which mutexes are blocking and recursive explicitlygingerBill2021-07-271-38/+58
|
* Improve default scope sizegingerBill2021-07-271-1/+2
|
* Replace non-recursive mutexes with `BlockingMutex`; Minor improves to ↵gingerBill2021-07-141-0/+38
| | | | initialization improves
* Add (internal flag) -show-debug-messagesgingerBill2021-07-131-1/+1
|