1; RUN: echo "!foo" > %t.order.txt 2; RUN: llc < %s -mtriple=x86_64-pc-linux -basic-block-sections=%t.order.txt | FileCheck --check-prefix=SOURCE-DRIFT %s 3; RUN: llc < %s -mtriple=x86_64-pc-linux -basic-block-sections=%t.order.txt -bbsections-detect-source-drift=false | FileCheck --check-prefix=HASH-CHECK-DISABLED %s 4 5define dso_local i32 @foo(i1 zeroext %0, i1 zeroext %1) !annotation !1 { 6 br i1 %0, label %5, label %3 7 83: ; preds = %2 9 %4 = select i1 %1, i32 2, i32 0 10 ret i32 %4 11 125: ; preds = %2 13 ret i32 1 14} 15 16!1 = !{!"instr_prof_hash_mismatch"} 17 18; SOURCE-DRIFT-NOT: .section .text{{.*}}.foo 19; HASH-CHECK-DISABLED: .section .text.hot.foo 20