Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion llvm-generated/generic/__config_site
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,22 @@
/* #undef _LIBCPP_NO_VCRUNTIME */
/* #undef _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION */
#define _LIBCPP_HAS_FILESYSTEM 1
#define _LIBCPP_HAS_RANDOM_DEVICE 0
#define _LIBCPP_HAS_RANDOM_DEVICE 1

/* ⚠️ AND THE BACKEND, EXPLICITLY, BECAUSE THE DEFAULT ONE CANNOT WORK HERE.
*
* libc++ picks `_LIBCPP_USING_DEV_RANDOM` for anything it does not recognise,
* and that backend opens `/dev/urandom` by absolute path. A capability-oriented
* filesystem hands a program its roots rather than the whole namespace, so
* openkal.fs deliberately cannot open it --- the refusal is the model working.
*
* `getentropy` needs no descriptor and no path. Beneath it musl calls
* `getrandom`, which this port routes to `kal_random_fill` rather than to a
* system call, so the whole chain stays inside the interface layer:
*
* std::random_device → getentropy → getrandom → openkal.random → backend
*/
#define _LIBCPP_USING_GETENTROPY 1
#define _LIBCPP_HAS_LOCALIZATION 1
#define _LIBCPP_HAS_UNICODE 1
#define _LIBCPP_HAS_WIDE_CHARACTERS 1
Expand Down
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas16_1.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 16
#define MODEL 1
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas16_2.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 16
#define MODEL 2
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas16_3.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 16
#define MODEL 3
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas16_4.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 16
#define MODEL 4
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas16_5.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 16
#define MODEL 5
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas1_1.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 1
#define MODEL 1
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas1_2.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 1
#define MODEL 2
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas1_3.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 1
#define MODEL 3
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas1_4.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 1
#define MODEL 4
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas1_5.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 1
#define MODEL 5
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas2_1.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 2
#define MODEL 1
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas2_2.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 2
#define MODEL 2
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas2_3.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 2
#define MODEL 3
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas2_4.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 2
#define MODEL 4
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
22 changes: 22 additions & 0 deletions llvm-generated/outline-atomics/oa_cas2_5.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// Generated. One of the 125 instantiations of compiler-rt's `aarch64/lse.S`.
//
// Upstream's CMake compiles that one file once per combination of pattern,
// size and memory ordering: `cas` at all five sizes, and five further patterns
// at four sizes each, times five orderings --- 25 + 100. A manifest expressing
// its sources as a glob cannot pass per-file defines, so each combination
// becomes a file that states its own and includes the shared body. The body is
// upstream's and unmodified.
#define L_cas
#define SIZE 2
#define MODEL 5
// ⚠️ `assembly.h` FIRST, BY A PATH RELATIVE TO THIS FILE.
//
// `lse.S` opens with `#include "assembly.h"`, which upstream resolves by
// compiling it with `-I` pointing at `builtins/`. This file lives elsewhere, so
// that include would not resolve and the assembler would meet `HIDDEN(...)` as
// an instruction: `error: unrecognized instruction mnemonic`. Including the
// header here, by a path relative to this file, needs no flag at all — and a
// flag is what would have to be repeated by anything else that ever includes
// this directory.
#include "../../llvm/compiler-rt/lib/builtins/assembly.h"
#include "../../llvm/compiler-rt/lib/builtins/aarch64/lse.S"
Loading
Loading