mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
0c70e8963d
This is the same as `unreachable` except it always traps violations, even if we're not running in MODE=dbg. This is useful for impossible conditions relating to system calls. It avoids terrifying bugs where control falls through to an unrelated function.
113 lines
2.2 KiB
JSON
113 lines
2.2 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "Win32",
|
|
"includePath": [
|
|
"${workspaceFolder}"
|
|
],
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++11",
|
|
"forcedInclude": ["${workspaceFolder}/.vscode/vscode.h"],
|
|
"defines": [
|
|
"libcesque=",
|
|
"pureconst=",
|
|
"paramsnonnull(x)=",
|
|
"alignas(x)",
|
|
"alignof(x)",
|
|
"artificial=",
|
|
"dontdiscard=",
|
|
"mayalias=",
|
|
"forceinline=",
|
|
"forcealign(x)=",
|
|
"scanfesque(x)=",
|
|
"strftimeesque(x)=",
|
|
"wontreturn=",
|
|
"textreal=",
|
|
"mallocesque=",
|
|
"callocesque=",
|
|
"vallocesque=",
|
|
"reallocesque=",
|
|
"strlenesque=",
|
|
"memcpyesque=",
|
|
"hasatleast=",
|
|
"noinline=",
|
|
"textexit=",
|
|
"returnstwice=",
|
|
"textwindows=",
|
|
"privileged=",
|
|
"compatfn=",
|
|
"noinstrument=",
|
|
"nodebuginfo=",
|
|
"interruptfn=",
|
|
"optimizespeed=",
|
|
"forcealignargpointer=",
|
|
"noasan=",
|
|
"noubsan=",
|
|
"testonly=",
|
|
"donothing=",
|
|
"nosideeffect=",
|
|
"unreachable=",,
|
|
"notpossible=",
|
|
"thatispacked=",
|
|
"dontthrow=",
|
|
"nocallback=",
|
|
"relegated=",
|
|
"hidden=",
|
|
"textstartup=",
|
|
"initarray=",
|
|
"returnsnonnull=",
|
|
"returnspointerwithnoaliases=",
|
|
"printfesque(x)=",
|
|
"attributeallocsize(x)=",
|
|
"returnsaligned(x)=",
|
|
"attributeallocalign(x)=",
|
|
"nullterminated(x)="
|
|
]
|
|
},
|
|
{
|
|
"name": "Linux",
|
|
"includePath": [
|
|
"${workspaceFolder}"
|
|
],
|
|
"cStandard": "gnu17",
|
|
"compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc",
|
|
"compilerArgs": [
|
|
"-Wall",
|
|
"-Werror",
|
|
"-fdebug-prefix-map=${workspaceFolder}=",
|
|
"-frecord-gcc-switches",
|
|
"-Wa,-W",
|
|
"-Wa,-I.",
|
|
"-Wa,--noexecstack",
|
|
"-Wa,--nocompress-debug-sections",
|
|
"-Og",
|
|
"-g",
|
|
"-gdescribe-dies",
|
|
"-msse3",
|
|
"-mno-red-zone",
|
|
"-fno-math-errno",
|
|
"-fno-trapping-math",
|
|
"-fno-fp-int-builtin-inexact",
|
|
"-fno-ident",
|
|
"-fno-common",
|
|
"-fno-gnu-unique",
|
|
"-fstrict-aliasing",
|
|
"-fstrict-overflow",
|
|
"-fno-semantic-interposition",
|
|
"-mno-omit-leaf-frame-pointer",
|
|
"-fno-jump-tables",
|
|
"-nostdinc",
|
|
"-iquote."
|
|
],
|
|
"forcedInclude": [
|
|
"libc/integral/normalize.inc"
|
|
],
|
|
"defines": [
|
|
"COSMO",
|
|
"MODE=",
|
|
"IMAGE_BASE_VIRTUAL=0x400000"
|
|
]
|
|
}
|
|
],
|
|
"version": 4
|
|
}
|