aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
Commit message (Collapse)AuthorAgeFilesLines
* windows i386 supportJon Lipstate2025-08-291-1/+9
|
* Add `@(raddbg_type_view=<optional-string>)`gingerBill2025-08-211-0/+22
| | | | | If no string parameter is provided, then one will be generated from the struct field tags. The attribute must be applied if the automatic struct field tag approach is to be used.
* Add support for `[dynamic]T` in `.raddbg`gingerBill2025-08-071-2/+3
|
* Begin supporting `string16` across the core librarygingerBill2025-08-021-0/+6
|
* Fix @objc_implement methods not respecting @objc_is_class_methodHarold Brenes2025-07-151-12/+30
| | | | Fix incorrect type encoding for objc_class
* Allow overriding object extension in `-build-mode:obj`Feoramund2025-05-301-29/+6
|
* Don't double-append module name when building separate objectsFeoramund2025-05-301-1/+2
| | | | | `m->module_name` will already have the `BuildPath_Output` name prepended.
* raddebugger: change table to columnsMohit Sethi2025-05-281-32/+32
|
* Merge pull request #5130 from odin-lang/bill/raddebugger-custom-sectiongingerBill2025-05-281-2/+90
|\ | | | | RAD Debugger support through the custom `.raddbg` section
| * Merge branch 'master' into bill/raddebugger-custom-sectiongingerBill2025-05-221-43/+665
| |\
| * | Move raddbg string stuff to a thread-safe queuegingerBill2025-05-071-85/+87
| | |
| * | Add `#row_major matrix` support for raddbggingerBill2025-05-071-0/+17
| | |
| * | Add column major matrix supportgingerBill2025-05-071-1/+19
| | |
| * | Only add custom section for Windows (currently)gingerBill2025-05-071-1/+2
| | |
| * | Begin work on adding support for the `.raddbg` section for the RAD DebuggergingerBill2025-05-071-2/+52
| | |
* | | Enable all sanitizers on FreeBSDFeoramund2025-05-221-4/+16
| |/ |/|
* | Merge pull request #5173 from Feoramund/fix-linux-shared-lib-runtime-callgingerBill2025-05-221-0/+8
|\ \ | | | | | | Keep shared libraries from calling main program's startup/cleanup procs on Linux
| * | Keep shared libraries from calling main program's startup/cleanup procs on LinuxFeoramund2025-05-221-0/+8
| | |
* | | fix global and static anyLaytan Laats2025-05-171-20/+5
|/ / | | | | | | Fixes #4627
* | Place RTTI into its own section `.odin-rtti`gingerBill2025-05-091-0/+1
| |
* | Merge pull request #5064 from harold-b/hb/objc-classesgingerBill2025-05-081-22/+651
|\ \ | | | | | | Add support for Objective-C class implementation
| * | Fix `lb_get_objc_type_encoding` missing matrix and simdvec encodings and ↵Harold Brenes2025-05-051-11/+23
| | | | | | | | | | | | minor fixes.
| * | Resolve other TODOsHarold Brenes2025-05-031-2/+5
| | |
| * | Remove some TODO. Leave important noteHarold Brenes2025-05-031-2/+0
| | |
| * | Register all classes unconditionallyHarold Brenes2025-05-031-2/+8
| | |
| * | Minor fixes in data type usage and style.Harold Brenes2025-04-301-7/+7
| | |
| * | Change ivar offsets from u32 to (odin base type) int/native pointer size.Harold Brenes2025-04-301-6/+6
| | |
| * | Use correct alignment value for `class_addIvar`.Harold Brenes2025-04-301-3/+3
| | |
| * | Use basic name instead of raw_name for type encoding complex and quats.Harold Brenes2025-04-301-6/+6
| | |
| * | Complete lb_get_objc_type_encoding() implementationHarold Brenes2025-04-301-33/+33
| | |
| * | Name fixesHarold Brenes2025-04-301-1/+1
| | |
| * | Fix more styling and minor issuesHarold Brenes2025-04-271-8/+8
| | |
| * | Fix indentationsHarold Brenes2025-04-271-547/+561
| | | | | | | | | | | | Fix Objective-C wrapper procs not forwarding return value
| * | Allow the class's ivar to be used as a context provider receiver as well.Harold Brenes2025-04-231-15/+25
| | |
| * | Add support for Objective-C method implementation with Odin calling convention.Harold Brenes2025-04-231-4/+39
| | | | | | | | | | | | Use @objc_context_provider to provide a context for a type.
| * | Fix bug in @encode implementation.Harold Brenes2025-04-231-2/+2
| | |
| * | Include the ivar in the Objective-C class unconditionally of it being used ↵Harold Brenes2025-04-221-3/+2
| | | | | | | | | | | | | | | | | | or not. Allow pseudo-fields for ivar access.
| * | Fix ivar in multi-module mode.Harold Brenes2025-04-211-21/+48
| | |
| * | Add initial support for Objective-C class implementationHarold Brenes2025-04-201-33/+558
| | |
* | | fix disposing builder when not createdLaytan Laats2025-05-071-1/+0
| |/ |/| | | | | | | | | | | | | | | Fixes #5128 p->builder is created in lb_begin_procedure_body, but that isn't called if there is no body, and we were still calling dispose at that point. Moved it into lb_end_procedure_body to match.
* | Add missing cast to global/static var alignments.Barinzaya2025-04-241-1/+1
| |
* | Correctly align global and static variables.Barinzaya2025-04-241-0/+1
|/ | | | | | This can be important if matrices or SIMD vectors are being used in global or static variables, as otherwise it may result in crashes due to aligned instructions accessing misaligned variables.
* Change hashing rules for float-like types to make `0 == -0`gingerBill2025-04-161-0/+47
|
* Propagate `@(link_section=<string>)` to nested declarationsgingerBill2025-04-081-5/+14
|
* Rewrite objc SEL/Class register handling codegingerBill2025-04-031-12/+33
|
* few llvm 20 changesLaytan Laats2025-03-191-0/+8
|
* Add new LLVM 20 passesgingerBill2025-03-181-791/+1
|
* Update to LLVM 20.1.0gingerBill2025-03-181-6/+9
|
* Remove debug printgingerBill2025-03-111-2/+0
|
* Fix object name generationgingerBill2025-03-111-2/+3
|