/external/clang/test/Driver/ |
D | visibility.cpp | 1 // RUN: %clang -### -S -fvisibility=hidden -fvisibility=default %s 2> %t.log 2 // RUN: FileCheck -check-prefix=CHECK-1 %s < %t.log 3 // CHECK-1-NOT: "-ftype-visibility" 4 // CHECK-1: "-fvisibility" "default" 5 // CHECK-1-NOT: "-ftype-visibility" 7 // RUN: %clang -### -S -fvisibility=default -fvisibility=hidden %s 2> %t.log 8 // RUN: FileCheck -check-prefix=CHECK-2 %s < %t.log 9 // CHECK-2-NOT: "-ftype-visibility" 10 // CHECK-2: "-fvisibility" "hidden" 11 // CHECK-2-NOT: "-ftype-visibility" [all …]
|
D | wasm-toolchain.c | 1 // A basic clang -cc1 command-line. WebAssembly is somewhat special in 2 // enabling -ffunction-sections, -fdata-sections, and -fvisibility=hidden by 5 // RUN: %clang %s -### -no-canonical-prefixes -target wasm32-unknown-unknown 2>&1 | FileCheck -chec… 6 // CC1: clang{{.*}} "-cc1" "-triple" "wasm32-unknown-unknown" {{.*}} "-fvisibility" "hidden" {{.*}}… 8 // Ditto, but ensure that a user -fno-function-sections disables the 9 // default -ffunction-sections. 11 // RUN: %clang %s -### -target wasm32-unknown-unknown -fno-function-sections 2>&1 | FileCheck -chec… 12 // NO_FUNCTION_SECTIONS-NOT: function-sections 14 // Ditto, but ensure that a user -fno-data-sections disables the 15 // default -fdata-sections. [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLVarying.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 SkASSERT(!fProgramBuilder->primitiveProcessor().willUseGeoShader()); in addPassThroughAttribute() 18 this->addVarying(input.name(), &v, interpolation); in addPassThroughAttribute() 19 fProgramBuilder->fVS.codeAppendf("%s = %s;", v.vsOut(), input.name()); in addPassThroughAttribute() 20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute() 43 SkASSERT(GrSLTypeIsFloatType(varying->type()) || Interpolation::kMustBeFlat == interpolation); in addVarying() 44 bool willUseGeoShader = fProgramBuilder->primitiveProcessor().willUseGeoShader(); in addVarying() 48 SkASSERT(kVoid_GrSLType != varying->fType); in addVarying() 49 v.fType = varying->fType; in addVarying() 50 v.fIsFlat = use_flat_interpolation(interpolation, *fProgramBuilder->shaderCaps()); in addVarying() [all …]
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLVarying.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 SkASSERT(!fProgramBuilder->primitiveProcessor().willUseGeoShader()); in addPassThroughAttribute() 18 this->addVarying(input.name(), &v, interpolation); in addPassThroughAttribute() 19 fProgramBuilder->fVS.codeAppendf("%s = %s;", v.vsOut(), input.name()); in addPassThroughAttribute() 20 fProgramBuilder->fFS.codeAppendf("%s = %s;", output, v.fsIn()); in addPassThroughAttribute() 43 SkASSERT(GrSLTypeIsFloatType(varying->type()) || Interpolation::kMustBeFlat == interpolation); in addVarying() 44 bool willUseGeoShader = fProgramBuilder->primitiveProcessor().willUseGeoShader(); in addVarying() 48 SkASSERT(kVoid_GrSLType != varying->fType); in addVarying() 49 v.fType = varying->fType; in addVarying() 50 v.fIsFlat = use_flat_interpolation(interpolation, *fProgramBuilder->shaderCaps()); in addVarying() [all …]
|
/external/pcre/dist2/m4/ |
D | pcre2_visibility.m4 | 1 # visibility.m4 serial 4 (gettext-0.18.2) 2 dnl Copyright (C) 2005, 2008, 2010-2011 Free Software Foundation, Inc. 9 dnl Tests whether the compiler supports the command-line option 10 dnl -fvisibility=hidden and the function and variable attributes 13 dnl Does *not* test for __visibility__("protected") - which has tricky 16 dnl Does *not* test for __visibility__("internal") - which has processor 18 dnl Does *not* test for #pragma GCC visibility push(hidden) - which is 32 if test -n "$GCC"; then 33 dnl First, check whether -Werror can be added to the command line, or 36 AC_MSG_CHECKING([whether the -Werror option is usable]) [all …]
|
/external/vulkan-validation-layers/build-android/jni/ |
D | Android.mk | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 LOCAL_PATH := $(call my-dir) 32 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable 33 LOCAL_CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR -DVK_PROTOTYPES -fvisibility=hidden 50 LOCAL_STATIC_LIBRARIES += layer_utils glslang SPIRV-Tools SPIRV-Tools-opt 51 LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror -Wno-unused-function -Wno-unused-const-variable 52 LOCAL_CPPFLAGS += -DVK_USE_PLATFORM_ANDROID_KHR -DVK_PROTOTYPES -fvisibility=hidden -DBUILD_CORE_VA… 53 LOCAL_LDLIBS := -llog -landroid 54 LOCAL_LDFLAGS += -Wl,-Bsymbolic 55 LOCAL_LDFLAGS += -Wl,--exclude-libs,ALL [all …]
|
/external/curl/CMake/ |
D | CurlSymbolHiding.cmake | 12 set(_CFLAG_SYMBOLS_HIDE "-fvisibility=hidden") 17 execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion 24 set(_CFLAG_SYMBOLS_HIDE "-fvisibility=hidden") 29 set(_CFLAG_SYMBOLS_HIDE "-xldscope=hidden") 35 set(_CFLAG_SYMBOLS_HIDE "-fvisibility=hidden") 37 int main (void) { printf(\"icc fvisibility bug test\"); return 0; }" _no_bug)
|
/external/skqp/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 18 // are. This works since all alignments are powers of 2. The mask is always (alignment - 1). 23 …https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/html/vkspec.html#interfaces-resou… 190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset() 233 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); in internalAddUniformArray() 235 uni.fVisibility = visibility; in internalAddUniformArray() 259 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray() 269 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); in addSampler() 271 GrSLPrecision precision = GrSLSamplerPrecision(texture->config()); in addSampler() 272 GrSwizzle swizzle = shaderCaps->configTextureSwizzle(texture->config()); in addSampler() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkUniformHandler.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 18 // are. This works since all alignments are powers of 2. The mask is always (alignment - 1). 23 …https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/html/vkspec.html#interfaces-resou… 190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset() 231 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); in internalAddUniformArray() 233 uni.fVisibility = visibility; in internalAddUniformArray() 256 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray() 266 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); in addSampler() 268 GrSwizzle swizzle = shaderCaps->configTextureSwizzle(texture->config()); in addSampler() 269 GrTextureType type = texture->texturePriv().textureType(); in addSampler() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlUniformHandler.mm | 4 * Use of this source code is governed by a BSD-style license that can be 20 // are. This works since all alignments are powers of 2. The mask is always (alignment - 1). 182 offsetDiff = alignmentMask - offsetDiff + 1; 225 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 227 uni.fVisibility = visibility; 251 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); 261 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); 263 GrSLPrecision precision = GrSLSamplerPrecision(texture->config()); 264 GrSwizzle swizzle = caps->configTextureSwizzle(texture->config()); 265 GrTextureType type = texture->texturePriv().textureType(); [all …]
|
D | GrMtlUniformHandler.h | 4 * Use of this source code is governed by a BSD-style license that can be 32 uint32_t fVisibility; member 42 return this->getUniformVariable(u).c_str(); in getUniformCStr() 75 return fSamplers[handle.toIndex()].fVisibility; in samplerVisibility()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlUniformHandler.mm | 4 * Use of this source code is governed by a BSD-style license that can be 20 // are. This works since all alignments are powers of 2. The mask is always (alignment - 1). 186 offsetDiff = alignmentMask - offsetDiff + 1; 227 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); 229 uni.fVisibility = visibility; 255 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); 265 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); 267 GrSwizzle swizzle = caps->configTextureSwizzle(texture->config()); 268 GrTextureType type = texture->texturePriv().textureType(); 275 layoutQualifier.appendf("binding=%d", fSamplers.count() - 1); [all …]
|
/external/swiftshader/third_party/LLVM/autoconf/m4/ |
D | visibility_inlines_hidden.m4 | 2 # Determine if the compiler accepts -fvisibility-inlines-hidden 7 [AC_CACHE_CHECK([for compiler -fvisibility-inlines-hidden option], 11 CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
|
/external/clang/test/CodeGenObjC/ |
D | attr-availability.m | 1 // RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin8.0.0" -emit-llvm -o - %s | Fi… 2 // RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin9.0.0" -emit-llvm -o - %s | Fi… 3 // RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin10.0.0" -emit-llvm -o - %s | F… 5 // CHECK-10_4: @"OBJC_CLASS_$_WeakClass1" = extern_weak global 6 // CHECK-10_5: @"OBJC_CLASS_$_WeakClass1" = external global 7 // CHECK-10_6: @"OBJC_CLASS_$_WeakClass1" = external global 15 // CHECK-10_4: @"OBJC_CLASS_$_WeakClass2" = extern_weak global 16 // CHECK-10_5: @"OBJC_CLASS_$_WeakClass2" = extern_weak global 17 // CHECK-10_6: @"OBJC_CLASS_$_WeakClass2" = external global
|
/external/clang/test/CodeGen/ |
D | attr-availability.c | 1 // RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin8.0.0" -emit-llvm -o - %s | Fi… 2 // RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin9.0.0" -emit-llvm -o - %s | Fi… 3 // RUN: %clang_cc1 -fvisibility hidden "-triple" "x86_64-apple-darwin10.0.0" -emit-llvm -o - %s | F… 5 // CHECK-10_4-LABEL: define hidden void @f2 6 // CHECK-10_5-LABEL: define hidden void @f2 7 // CHECK-10_6-LABEL: define hidden void @f2 11 // CHECK-10_4-LABEL: define void @f3 12 // CHECK-10_5-LABEL: define void @f3 13 // CHECK-10_6-LABEL: define void @f3 17 // CHECK-10_4: declare extern_weak void @f0 [all …]
|
D | visibility.c | 1 // RUN: %clang_cc1 %s -triple i386-unknown-unknown -fvisibility default -emit-llvm -o - | FileCheck… 2 // RUN: %clang_cc1 %s -triple i386-unknown-unknown -fvisibility protected -emit-llvm -o - | FileChe… 3 // RUN: %clang_cc1 %s -triple i386-unknown-unknown -fvisibility hidden -emit-llvm -o - | FileCheck … 5 // CHECK-DEFAULT: @g_def = global i32 0 6 // CHECK-DEFAULT: @g_com = common global i32 0 7 // CHECK-DEFAULT: @g_ext = external global i32 8 // CHECK-DEFAULT: @g_deferred = internal global 9 // CHECK-PROTECTED: @g_def = protected global i32 0 10 // CHECK-PROTECTED: @g_com = common protected global i32 0 11 // CHECK-PROTECTED: @g_ext = external global i32 [all …]
|
D | available-externally-hidden.cpp | 1 // RUN: %clang_cc1 -O2 -fvisibility hidden -std=c++11 -emit-llvm -o - -triple x86_64-apple-darwin10… 3 // Ensure that available_externally functions eliminated at -O2 are now 4 // declarations, and are not emitted as hidden with -fvisibility=hidden, 31 f->Send(new Message); in main()
|
/external/skqp/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 17 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X) 53 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); in internalAddUniformArray() 55 uni.fVisibility = visibility; in internalAddUniformArray() 57 uni.fLocation = -1; in internalAddUniformArray() 62 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray() 73 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); in addSampler() 75 GrSLPrecision precision = GrSLSamplerPrecision(texture->config()); in addSampler() 76 GrSwizzle swizzle = shaderCaps->configTextureSwizzle(texture->config()); in addSampler() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLUniformHandler.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 17 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X) 51 fProgramBuilder->nameVariable(uni.fVariable.accessName(), prefix, name, mangleName); in internalAddUniformArray() 53 uni.fVisibility = visibility; in internalAddUniformArray() 54 uni.fLocation = -1; in internalAddUniformArray() 59 return GrGLSLUniformHandler::UniformHandle(fUniforms.count() - 1); in internalAddUniformArray() 70 fProgramBuilder->nameVariable(&mangleName, prefix, name, true); in addSampler() 72 GrSwizzle swizzle = shaderCaps->configTextureSwizzle(texture->config()); in addSampler() 73 GrTextureType type = texture->texturePriv().textureType(); in addSampler() [all …]
|
/external/clang/docs/ |
D | LTOVisibility.rst | 9 using link-time optimization; in the case where LTO is not being used, the 14 features apply to. These features use whole-program information, so they 23 visibility. A class's LTO visibility is treated as an ODR-relevant property 28 ``__attribute__((visibility("...")))`` attribute, or the ``-fvisibility=`` 30 targeting non-Windows platforms, classes with a visibility other than hidden 45 combination of LTO object files and non-LTO object files, any hidden 59 LTO visibility. On Windows platforms, clang-cl's ``/MT`` and ``/MTd`` 70 .. code-block:: none 72 …+-----------------------------------------------------------+ +----------------------------------… 73 …| main (clang++ -fvisibility=hidden): | | dso.so (clang++ -fvisibility=hidd… [all …]
|
/external/deqp/framework/delibs/cmake/ |
D | CFlags.cmake | 1 #------------------------------------------------------------------------- 3 # ---------------------------- 11 # http://www.apache.org/licenses/LICENSE-2.0 19 #------------------------------------------------------------------------- 37 add_definitions("-DDE_COVERAGE_BUILD") 38 set(TARGET_FLAGS "-fprofile-arcs -ftest-coverage") 39 set(LINK_FLAGS "${LINK_FLAGS} -lgcov") 43 set(DE_3RD_PARTY_C_FLAGS "${CMAKE_C_FLAGS} ${TARGET_FLAGS} -w") 44 set(DE_3RD_PARTY_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TARGET_FLAGS} -w") 46 # \note Remove -Wno-sign-conversion for more warnings [all …]
|
/external/clang/test/CodeGenCXX/ |
D | implicit-record-visibility.cpp | 1 // RUN: %clang_cc1 %s -I%S -fvisibility hidden -triple x86_64-linux-gnu -emit-llvm -o - | FileCheck… 7 // under -fvisibility hidden the type of function f, due to its va_list (aka
|
D | cfi-blacklist.cpp | 1 …cc1 -triple %itanium_abi_triple -fvisibility hidden -fms-extensions -fsanitize=cfi-vcall -emit-llv… 3 …-triple %itanium_abi_triple -fvisibility hidden -fms-extensions -fsanitize=cfi-vcall -fsanitize-bl… 21 s1->f(); in s1f() 26 // NOSTD-NOT: llvm.type.test 28 s2->f(); in s2f()
|
D | cfi-nvcall.cpp | 1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-nvcall -emit-llv… 2 …ng_cc1 -triple x86_64-unknown-linux -fvisibility hidden -fsanitize=cfi-nvcall,cfi-cast-strict -emi… 17 // CHECK-LABEL: @bg 18 // CHECK-STRICT-LABEL: @bg 21 // CHECK-STRICT: call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"_ZTS1B") in bg() 22 b->g(); in bg() 25 // CHECK-LABEL: @cg 26 // CHECK-STRICT-LABEL: @cg 30 // c to be of type A in non-strict mode. in cg() 33 // CHECK-STRICT: call i1 @llvm.type.test(i8* {{%[^ ]*}}, metadata !"_ZTS1C") in cg() [all …]
|
/external/compiler-rt/test/cfi/ |
D | lit.cfg | 13 …clang_cfi = ' '.join(config.lto_launch + [config.clang] + config.lto_flags + ['-flto -fsanitize=cf… 17 clang_cfi += '-fwhole-program-vtables ' 23 diag = '-fno-sanitize-trap=cfi -fsanitize-recover=cfi ' 24 non_dso = '-fvisibility=hidden ' 25 dso = '-fsanitize-cfi-cross-dso -fvisibility=default '
|