brintos

brintos / llvm-project-archived public Read only

0
0
Text · 669 B · 5fec1c4 Raw
17 lines · plain
1; RUN: not llc -mtriple=x86_64-windows --ms-secure-hotpatch-functions-file=%S/this-file-is-intentionally-missing-do-not-create-it.txt < %s 2>&1 | FileCheck %s2; CHECK: failed to open hotpatch functions file3 4source_filename = ".\\ms-secure-hotpatch.ll"5target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"6target triple = "x86_64-pc-windows-msvc19.36.32537"7 8@some_global_var = external global i329 10define noundef i32 @this_gets_hotpatched() #0 {11    %1 = load i32, ptr @some_global_var12    %2 = add i32 %1, 113    ret i32 %214}15 16attributes #0 = { "marked_for_windows_hot_patching" mustprogress noinline nounwind optnone uwtable }17