Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/debug-info-atomic.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 |
line wrap: on
line source
// RUN: %clang -g -c -std=c11 -S -emit-llvm -o - %s | FileCheck %s // CHECK: !DIGlobalVariable(name: "i" // CHECK-SAME: type: ![[T:.*]], isLocal: false, isDefinition: true) // CHECK: ![[T]] = !DIDerivedType(tag: DW_TAG_const_type, baseType: ![[BT:.*]]) // CHECK: ![[BT]] = !DIDerivedType(tag: DW_TAG_atomic_type, baseType: ![[BTT:.*]]) // CHECK: ![[BTT]] = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) _Atomic const int i;