File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
22target 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
You can’t perform that action at this time.
0 commit comments