
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
15 lines
408 B
Common Lisp
15 lines
408 B
Common Lisp
// RUN: %clang_cc1 %s -ffake-address-space-map -faddress-space-map-mangling=no -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
|
|
|
|
void func(local int*);
|
|
|
|
__kernel void foo(void) {
|
|
// CHECK: @foo.i = internal addrspace(2) global i32 undef
|
|
__local int i;
|
|
func(&i);
|
|
}
|
|
|
|
// CHECK-LABEL: define void @_Z3barPU7CLlocali
|
|
__kernel void __attribute__((__overloadable__)) bar(local int *x) {
|
|
*x = 5;
|
|
}
|