annotate clang/test/CodeGen/2006-07-31-PR854.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple i686-linux-gnu -w %s -emit-llvm -o -
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 // PR854
anatofuz
parents:
diff changeset
4 struct kernel_symbol {
anatofuz
parents:
diff changeset
5 unsigned long value;
anatofuz
parents:
diff changeset
6 };
anatofuz
parents:
diff changeset
7 unsigned long loops_per_jiffy = (1<<12);
anatofuz
parents:
diff changeset
8 static const char __kstrtab_loops_per_jiffy[]
anatofuz
parents:
diff changeset
9 __attribute__((section("__ksymtab_strings"))) = "loops_per_jiffy";
anatofuz
parents:
diff changeset
10 static const struct kernel_symbol __ksymtab_loops_per_jiffy
anatofuz
parents:
diff changeset
11 __attribute__((__used__)) __attribute__((section("__ksymtab"))) = { (unsigned
anatofuz
parents:
diff changeset
12 long)&loops_per_jiffy, __kstrtab_loops_per_jiffy };