Created
June 7, 2017 15:17
-
-
Save trasz/bab434d029c8591da8dc4ec1d9f88605 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RUN: %clang_cc1 -triple cheri-unknown-freebsd -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name setlocale.c -mrelocation-model pic -pic-level 1 -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu cheri -target-feature +soft-float -target-abi purecap -Wmips-cheri-prototypes -msoft-float -mfloat-abi soft -mllvm -mxgot -mllvm -mips-ssection-threshold=0 -dwarf-column-info -debug-info-kind=standalone -dwarf-version=2 -debugger-tuning=gdb -coverage-notes-file /home/en322/cheri/build/cheribsd-obj-256/mips.mips64/usr/home/en322/cheri/cheribsd/lib/libc_cheri/setlocale.gcno -sys-header-deps -D FORCE_C_LOCALE -D FORCE_UTC_TZ -D __LP64__=1 -O2 -Wno-deprecated-declarations -Wno-cast-align -Werror=implicit-function-declaration -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-incompatible-pointer-types-discards-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-incompatible-pointer-types-discards-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -std=gnu99 -fconst-strings -ferror-limit 19 -fmessage-length 0 -ftls-model=local-exec -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -cheri-linker -mllvm -mxmxgot -x c %s -o - | FileCheck %s | |
char *strcat(); | |
a() { strcat(a, "/"); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment