1## Checks that jump table footprint reduction optimization is reducing entry 2## sizes. 3 4RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown \ 5RUN: %S/Inputs/jump_table_footprint_reduction.s -o %t.o 6RUN: link_fdata %S/Inputs/jump_table_footprint_reduction.s %t.o %t.fdata --nmtool llvm-nm 7RUN: llvm-strip --strip-unneeded %t.o 8RUN: %clang %cflags -no-pie %t.o -o %t.exe -Wl,-q 9RUN: llvm-bolt %t.exe --data %t.fdata -o %t.null \ 10RUN: --jump-tables=move --jt-footprint-reduction --assume-abi --relocs \ 11RUN: | FileCheck %s 12 13CHECK: 100.00% of dynamic JT entries were reduced. 14CHECK: 1 of 1 jump tables affected. 15CHECK: 1 of 1 indirect jumps to JTs affected. 16CHECK: 36 bytes saved. 17