Commit Graph

5896 Commits

Author SHA1 Message Date
Jeroen van Rijn
073e043b02 Fix hang, courtesy of cloin. 2025-10-13 02:59:57 +02:00
gingerBill
d267891ac9 Merge pull request #5797 from harold-b/hb.export-linked-libs
Add build flag to export the linked libraries
2025-10-12 10:52:50 +01:00
gingerBill
85005babc2 Merge pull request #5794 from alsakandari/improve-target-features
Improve target features flag by allowing the user to disable a target feature
2025-10-12 10:19:45 +01:00
Harold Brenes
612b219230 Fix -export-linked-libs-file system lib check 2025-10-12 02:00:18 -04:00
Harold Brenes
0de3de7257 Use exact value to determine system linked libs with -export-linked-libs-file 2025-10-12 01:57:29 -04:00
Harold Brenes
937161f68d Add -export-linked-libs-file build flag.
This build flag writes a list of the libraries that were linked during the build to the specified file.
2025-10-12 01:03:27 -04:00
Jeroen van Rijn
e4db455458 Fix #5785 2025-10-11 20:32:09 +02:00
Jeroen van Rijn
5dbade87e9 Simple compare is also comparable 2025-10-11 15:43:30 +02:00
Jeroen van Rijn
e6754547ab Fix #5786 2025-10-11 15:17:23 +02:00
Jeroen van Rijn
b3dfd34f2d #5788 2025-10-11 14:57:45 +02:00
Jeroen van Rijn
48a79a6f8c Fix #5789 2025-10-11 14:55:48 +02:00
Yhya Ibrahim
c4a8af0f0d Check for + and - in the target features set 2025-10-11 15:48:12 +03:00
Yhya Ibrahim
a672c68f03 Make -target-features flag support disabling of a feature 2025-10-11 15:26:01 +03:00
gingerBill
7e7b6ac0de Add short-circuit for check_cast_internal 2025-10-10 14:37:18 +01:00
gingerBill
7e64dedb77 Fix #5778 2025-10-10 14:31:41 +01:00
gingerBill
26b3a4d182 Handle concatenation at the end 2025-10-10 12:09:41 +01:00
gingerBill
1387c3d311 Remove unneeded type expression 2025-10-10 12:04:22 +01:00
gingerBill
24bc044d78 Support fixed-length arrays for intrinsics.concatenate 2025-10-10 12:00:44 +01:00
gingerBill
5e12532eba Add basic type inference to the arguments 2025-10-10 11:50:02 +01:00
gingerBill
061b14e164 Allow intrinsics.concatenate to be variadic 2025-10-10 11:48:18 +01:00
gingerBill
1572ed57b6 Add intrinsics.concatenate 2025-10-10 11:40:36 +01:00
gingerBill
b04c3900ab Merge pull request #5774 from A1029384756/llvm-14-fixes
[llvm-14-fixes] fix `const_pad_to_size` for strings
2025-10-09 17:15:47 +01:00
A1029384756
be9384fc8d [llvm-14-fixes] use specific LLVMConst* codepaths for LLVM 14 2025-10-09 12:03:25 -04:00
gingerBill
025cb03242 Add all-bits to feature tag 2025-10-09 15:02:16 +01:00
gingerBill
adc44312bf const string -> constant string 2025-10-09 10:36:50 +01:00
gingerBill
a60058259d Allow intrinsics.type_union_tag_offset with maybe-like unions 2025-10-09 10:25:48 +01:00
gingerBill
41c523faa5 Add intrinsics.type_is_raw_union 2025-10-09 10:10:49 +01:00
gingerBill
cadac43f14 Merge pull request #5765 from odin-lang/bill/new-slice-sort
New `slice.sort` implementation
2025-10-09 09:55:43 +01:00
gingerBill
e001e402c2 Add intrinsics.type_is_cstring and intrinsics.type_is_cstring16 2025-10-09 09:55:14 +01:00
Laytan
f564f66c03 Merge pull request #5770 from harold-b/hb.fix-objc-superclass-check
Fix `@objc_superclass` attribute crashing when referenced type was invalid
2025-10-08 18:02:12 +02:00
Harold Brenes
9f5bde4a6f Perform type kind check before making use relevant fields in objc_superclass check 2025-10-08 11:38:20 -04:00
A1029384756
067fbfb48c Merge remote-tracking branch 'upstream/master' into llvm-14-fixes 2025-10-07 23:29:10 -04:00
A1029384756
cfe651e8d2 formatting 2025-10-07 23:26:29 -04:00
A1029384756
7179987ac9 casting 2025-10-07 23:15:12 -04:00
A1029384756
b55cf5f8f4 llvm 14 fixed 2025-10-07 22:58:50 -04:00
gingerBill
097a41a6cc Merge pull request #5739 from Creativty/master
Fix proc group named operands issue #4971
2025-10-07 15:34:33 +01:00
gingerBill
24253643d7 Merge pull request #5757 from Creativty/fix_out_of_place_default_params_exclusion
Fix #5734, Default params exclusion counting in proc groups issue
2025-10-07 15:34:02 +01:00
gingerBill
185e7cd538 Merge pull request #5760 from harold-b/hb.fix-objc-block-name-collision
Fix Objective-C block symbols naming conflict across modules
2025-10-06 13:27:47 +01:00
gingerBill
bc9e6f852e Merge pull request #5762 from A1029384756/llvm-14-entry-fix
[llvm-14-entry-fix] bitcast context pointer to match types for llvm 14
2025-10-06 13:26:52 +01:00
A1029384756
866486fa1c [llvm-14-entry-fix] bitcast context pointer to match types for llvm 14 2025-10-06 00:12:31 -04:00
Harold Brenes
e79e53dbbd Use module-prefixed naming scheme for tracking
objc block instead of shared id counter.
2025-10-05 16:14:32 -04:00
Harold Brenes
86f9c920da Fix Objective-C block symbols naming conflict across modules.
Fix assert triggered when there's checker errors and
 Objective-C method implementations.
2025-10-05 15:53:42 -04:00
gingerBill
3f7fc1e9bf Merge pull request #5738 from jakubtomsu/fix-simd-ptr-transmute
[LLVM backend] SIMD vector transmute only uses bitcast when the elements aren't pointers
2025-10-05 20:27:23 +01:00
gingerBill
810ca89253 Merge pull request #5727 from harold-b/hb.intrinsics.objc_super
Add intrinsics.objc_super and Automatically emit objc_msgSend calls
2025-10-05 20:27:01 +01:00
xenobas
61db9c71f6 Fix non infix params with default value exclusion counting 2025-10-05 15:46:02 +01:00
Yhya Ibrahim
89a5e93818 Remove a debug printf that caused regression 2025-10-05 09:56:03 +03:00
xenobas
0158e4009b Fix proc group named operands issue #4971 2025-10-01 18:01:10 +01:00
Jakub Tomsu
588513a510 bitcast only non-pointer-like-element simd vectors, handle others like other aggregate types 2025-10-01 15:54:32 +02:00
Harold Brenes
a769e341cb Preempt field checking on signature_parameter_similar_enough with a type ptr equality check 2025-09-30 11:50:30 -04:00
gingerBill
4945168e6d Short circuit for #raw_union in signature_parameter_similar_enough 2025-09-30 10:48:05 +01:00