4 printf("Dummy called\n");
8 int main(int argc
, char **argv
) {
11 printf("Main called\n");
14 // Check that emitting trap value works properly and
15 // does not break functions
16 // REQUIRES: system-linux
17 // RUN: %clangxx -Wl,-q %s -o %t.exe
18 // RUN: %t.exe | FileCheck %s
19 // CHECK: Dummy called
20 // CHECK-NEXT: Main called
21 // RUN: llvm-bolt %t.exe -o %t.exe.bolt -lite=false --mark-funcs
22 // RUN: %t.exe.bolt | FileCheck %s