[all-commits] [llvm/llvm-project] 86587f: [Libomptarget] Fix compiling with asserts using th...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Sep 9 13:25:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86587f289158b19b90bd72f7ab6f6ad1147835b3
      https://github.com/llvm/llvm-project/commit/86587f289158b19b90bd72f7ab6f6ad1147835b3
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/src/exports
    A openmp/libomptarget/test/api/assert.c

  Log Message:
  -----------
  [Libomptarget] Fix compiling with asserts using the bitcode library

Sumnmary:
A previous patch introduces an `exports` file which contains all the
symbol names that are not internalized in the bitcode library. This is
done to reduce the size of the bitcode library and only export needed
functions. This export file must contain all the functoins expected to
be called from the device. Since its introduction the `__assert_fail`
function used to be provided but was mistakenly not included. This patch
adds it.

Fixes #57656

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D133594




More information about the All-commits mailing list