zig/lib/std
Andrew Kelley 9ed599b4e3 stage2: LLVM backend: miscompilation fixes
* work around a stage1 miscompilation leading to the wrong integer
   comparison predicate being emitted.
 * fix the bug of not annotating callsites with the calling convention
   of the callee, leading to undefined behavior.
 * add the `nobuiltin` attribute when building freestanding libc or
   compiler_rt libraries to prevent e.g. memcpy from being "optimized"
   into a call to itself.
 * compiler-rt: change a call to be comptime to make the generated LLVM
   IR simpler and easier to study.

I still can't enable the widening tests due to the compiler-rt compare
function being miscompiled in some not-yet-diagnosed way.
2021-10-05 20:36:04 -07:00
..
atomic migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
build migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
c migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
compress Merge pull request #9880 from squeek502/deflate-construct-errors 2021-10-04 15:31:08 -04:00
crypto migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
dwarf std: reorganization that allows new usingnamespace semantics 2021-09-01 17:54:06 -07:00
event migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
fmt remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
fs migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
hash migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
heap migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
io migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
json remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
math freestanding libc: export fmal 2021-10-05 16:56:46 -07:00
mem FIX resize() for non u8 element types. (#9806) 2021-09-22 12:09:16 +03:00
meta migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
net migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
os migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
rand migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
special stage2: LLVM backend: miscompilation fixes 2021-10-05 20:36:04 -07:00
target update target CPU features with LLVM 13 rc1 data 2021-08-15 23:09:55 -07:00
testing remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
Thread migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
time add functions to decode an epoch timestamp (#9040) 2021-09-14 19:02:23 +03:00
unicode migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
valgrind remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
x migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
array_hash_map.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
array_list.zig std: publicize ArrayListUnmanaged.allocatedSlice to match ArrayList 2021-09-12 19:32:40 +03:00
ascii.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
atomic.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
base64.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
bit_set.zig std: disable ArrayBitSet test on aarch64 2021-10-01 22:32:13 -07:00
bounded_array.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
buf_map.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
buf_set.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
build.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
builtin.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
c.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
child_process.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
coff.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
compress.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
comptime_string_map.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
crypto.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
cstr.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
debug.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
dwarf.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
dynamic_library.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
elf.zig elf: add amd64 relocation types 2021-09-19 14:02:22 +02:00
enums.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
event.zig std, compiler-rt: remove test names where applicable 2021-09-01 17:54:06 -07:00
fifo.zig std.fifo.LinearFifo: ensureUnusedCapacity and ensureTotalCapacity 2021-09-19 13:52:56 +02:00
fmt.zig Merge remote-tracking branch 'origin/master' into llvm13 2021-09-15 14:51:08 -07:00
fs.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
hash_map.zig Update all ensureCapacity calls to the relevant non-deprecated version 2021-09-19 13:52:56 +02:00
hash.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
heap.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
io.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
json.zig Update all ensureCapacity calls to the relevant non-deprecated version 2021-09-19 13:52:56 +02:00
leb128.zig I'm working on a WebAssembly interpreter in zig. WebAssembly uses LEB128 encoding throughout its specification. 2021-09-20 01:58:18 -04:00
linked_list.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
log.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
macho.zig macho: fix allocating sections within segment when parsing objects 2021-08-31 23:05:01 +02:00
math.zig add support for f128 @mulAdd 2021-10-05 12:32:26 -07:00
mem.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
meta.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
multi_array_list.zig Update all ensureCapacity calls to the relevant non-deprecated version 2021-09-19 13:52:56 +02:00
net.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
once.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
os.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
packed_int_array.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
pdb.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
priority_dequeue.zig std.PriorityDequeue: ensureUnusedCapacity and ensureTotalCapacity 2021-09-19 13:52:56 +02:00
priority_queue.zig std.PriorityQueue: ensureUnusedCapacity and ensureTotalCapacity 2021-09-19 13:52:56 +02:00
process.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
Progress.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
rand.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
SemanticVersion.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
sort.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
start_windows_tls.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
start.zig Remove reference to stage2_os 2021-09-22 14:14:03 -05:00
std.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
target.zig freestanding libc: don't rely on compiler_rt symbols we don't have yet 2021-10-05 18:19:31 -07:00
testing.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
Thread.zig Initial bringup of the Solaris/Illumos port 2021-09-24 14:06:16 -04:00
time.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
unicode.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
valgrind.zig zig fmt: respect trailing commas in inline assembly 2021-08-29 11:57:32 +02:00
wasm.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
x.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
zig.zig plan9: change output executable name 2021-09-07 15:08:51 -04:00