• Show log

    Commit

  • Hash : 3e9a1375
    Author : Devon Loehr
    Date : 2025-04-30T16:03:03

    Fix unique object duplication warning
    
    Clang has a `unique-object-duplication` warning that warns about objects
    which are supposed to be unique (like static- or thread-local
    variables), but may be accidentally duplicated across shared libraries
    when they have hidden visibility.
    
    This CL addresses instances of that warning by:
    1. Ensuring that on non-windows systems, objects that need to be
       exported are unconditionally given "default" visibility
    2. Satisfy the compiler by marking everything as default visibility when
       building a static library, since visibility only matters for shared
       libraries
    3. Mark functions with static or thread local variables as exported.
    
    Bug: chromium:368047728
    Change-Id: Ic60265353bf2b0af2cd1fef884bfa85038e0db02
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6502093
    Reviewed-by: Geoff Lang <geofflang@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/angle.git
    Git SSH git@git.kmx.io:kc3-lang/angle.git
    Public access ? public
    Description

    A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.

    Homepage

    Github

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags