1# REQUIRES: exegesis-can-measure-latency, x86_64-linux
2
3# Test that we error out if the requested snippet address is not aligned to
4# a page boundary. Here we test out mapping at 2^12+4 which is off from a page
5# boundary by four bytes.
6
7# RUN: not llvm-exegesis -mtriple=x86_64-unknown-unknown -mode=latency -snippets-file=%s -execution-mode=subprocess 2>&1 | FileCheck %s
8
9# LLVM-EXEGESIS-SNIPPET-ADDRESS 65540
10
11nop
12
13# CHECK: invalid comment 'LLVM-EXEGESIS-SNIPPET-ADDRESS 65540, expected <ADDRESS> to be a multiple of the platform page size.
14