Skip to content

Commit

Permalink
[InstrProfiling] Add one missing XCOFF line to profiling.ll
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinsong Ji committed Sep 2, 2021
1 parent 7d0e62b commit 3fd27ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/test/Instrumentation/InstrProfiling/profiling.ll
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ declare void @llvm.instrprof.increment(i8*, i64, i32, i32)
; ELF_GENERIC: @llvm.compiler.used = appending global {{.*}} @__llvm_profile_runtime {{.*}} @__profd_foo {{.*}}
; MACHO: @llvm.compiler.used = appending global {{.*}} @__llvm_profile_runtime_user {{.*}} @__profd_foo {{.*}}
; COFF: @llvm.compiler.used = appending global {{.*}} @__llvm_profile_runtime_user {{.*}} @__profd_foo {{.*}}
; XCOFF: @llvm.used = appending global {{.*}} @__llvm_profile_runtime_user {{.*}} @__profd_foo {{.*}}

; MACHO: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} {
; MACHO: %[[REG:.*]] = load i32, i32* @__llvm_profile_runtime
Expand Down

0 comments on commit 3fd27ec

Please sign in to comment.