Skip to content

Commit badacec

Browse files
committed
A small tweak to the added test
1 parent 6409213 commit badacec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bolt/test/runtime/relative-vftable.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
// CHECK-NEXT: derived_bar
1313
// CHECK-NEXT: derived_goo
1414

15-
// RUN: llvm-bolt --instrument %t/main.so -o %t/main.instr.so
16-
// RUN: %t/main.instr.so | FileCheck %s
15+
// RUN: llvm-bolt %t/main.so -o %t/main.bolted.so --trap-old-code
16+
// RUN: %t/main.bolted.so | FileCheck %s
1717

1818
;--- tt.h
1919
#include <stdio.h>
@@ -38,7 +38,7 @@ void Derived::goo() { printf("derived_goo\n"); }
3838

3939
;--- main.cpp
4040
#include "tt.h"
41-
// #pragma clang optimize off
41+
#pragma clang optimize off
4242

4343
void Base::foo() { printf("base_foo\n"); }
4444
void Base::bar() { printf("base_bar\n"); }

0 commit comments

Comments
 (0)