14 lines · plain
1# REQUIRES: exegesis-can-measure-latency, x86_64-linux2 3# Test that we error out if the requested snippet address is not aligned to4# a page boundary. Here we test out mapping at 2^12+4 which is off from a page5# 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 %s8 9# LLVM-EXEGESIS-SNIPPET-ADDRESS 6554010 11nop12 13# CHECK: invalid comment 'LLVM-EXEGESIS-SNIPPET-ADDRESS 65540, expected <ADDRESS> to be a multiple of the platform page size.14