Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • scripts
  • generate_loader.py
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Make libEGL function pointers hidden in symbol table · a79c2440
    Tim Van Patten authored Jul 29, 2019
    The libEGL_angle.so and libGLESv2_angle.so libraries are typically
    loaded into the same process each time, so we need to make sure there
    aren't any duplicated symbols which could violate ODR and lead to
    crashes or undefined behavior.   In this case, the libEGL_angle.so
    function pointer names were colliding with libGLESv2_angle.so function
    names, causing crashes at runtime.   The fix here is to mark the
    libEGL_angle.so function pointer symbols 'hidden', so they don't appear
    in the symbol table for other executables/libraries to see and can't be
    overridden by other symbols.
    
    Bug: angleproject:3751
    Test: Embed ANGLE within dEQP.apk and verify no crashes
    Change-Id: Ibb78369374a4a68b3489a7dd7775c52e29fa37e0
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1724909
    Commit-Queue: Tim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    a79c2440
generate_loader.py 9.24 KB
EditWeb IDE
×

Replace generate_loader.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.