Skip to content

Commit 90ac67d

Browse files
test coverage
1 parent 58bb098 commit 90ac67d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/test/CodeGen/X86/global-variable-partition-with-dap.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
22
target triple = "x86_64-unknown-linux-gnu"
33

4-
;; A minimal test case. llc will crash if global variables already has a section
5-
;; prefix. Subsequent PRs will expand on this test case to test the hotness
4+
;; A minimal test case. Subsequent PRs will expand on this test case
5+
;; (e.g., with more functions, variables and profiles) and test the hotness
66
;; reconcillation implementation.
7-
; RUN: not llc -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic \
7+
; RUN: llc -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic \
88
; RUN: -partition-static-data-sections=true \
99
; RUN: -data-sections=true -unique-section-names=false \
10-
; RUN: %s -o - 2>&1 | FileCheck %s --check-prefix=ERR
10+
; RUN: %s -o - 2>&1 | FileCheck %s --check-prefix=IR
1111

12-
; ERR: Global variable hot_bss already has a section prefix hot
12+
; IR: .section .bss.hot.,"aw"
1313

1414
@hot_bss = internal global i32 0, !section_prefix !17
1515

0 commit comments

Comments
 (0)