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