|
3 | 3 | ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux < %s | FileCheck -check-prefix=LINUX64 %s
|
4 | 4 | ; RUN: llc -verify-machineinstrs -mtriple=powerpc-ibm-aix-xcoff < %s | FileCheck -check-prefix=AIX32 %s
|
5 | 5 | ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff < %s | FileCheck -check-prefix=AIX64 %s
|
| 6 | +; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-freebsd13 < %s | FileCheck -check-prefix=FREEBSD32 %s |
| 7 | +; RUN: llc -verify-machineinstrs -mtriple=powerpcle-unknown-freebsd13 < %s | FileCheck -check-prefix=FREEBSD32 %s |
| 8 | +; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-freebsd13 < %s | FileCheck -check-prefix=FREEBSD64 %s |
| 9 | +; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-freebsd13 < %s | FileCheck -check-prefix=FREEBSD64 %s |
6 | 10 |
|
7 |
| -; LINUX32: lwz {{[0-9]+}}, -28680(2) |
8 |
| -; LINUX64: ld {{[0-9]+}}, -28688(13) |
| 11 | +; LINUX32: lwz [[#]], -28680(2) |
| 12 | +; LINUX64: ld [[#]], -28688(13) |
9 | 13 | ; AIX32: lwz {{.*}}__ssp_canary_word
|
10 | 14 | ; AIX64: ld {{.*}}__ssp_canary_word
|
| 15 | +; FREEBSD32: lwz [[#]], __stack_chk_guard@l([[#]]) |
| 16 | +; FREEBSD64: ld [[#]], .LC0@toc@l([[#]]) |
11 | 17 |
|
12 | 18 | ; LINUX32: __stack_chk_fail
|
13 | 19 | ; LINUX64: __stack_chk_fail
|
14 | 20 | ; AIX32: __stack_chk_fail
|
15 | 21 | ; AIX64: __stack_chk_fail
|
| 22 | +; FREEBSD32: bl __stack_chk_fail |
| 23 | +; FREEBSD64: bl __stack_chk_fail |
16 | 24 |
|
17 | 25 | @"\01LC" = internal constant [11 x i8] c"buf == %s\0A\00" ; <[11 x i8]*> [#uses=1]
|
18 | 26 |
|
|
0 commit comments