[all-commits] [llvm/llvm-project] 86a4c7: [Libomptarget] Add missing include to define `printf`
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jun 8 06:57:33 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86a4c78047cefd98863d5c62992616a43a0240c0
https://github.com/llvm/llvm-project/commit/86a4c78047cefd98863d5c62992616a43a0240c0
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-06-08 (Wed, 08 Jun 2022)
Changed paths:
M openmp/libomptarget/test/env/base_ptr_ref_count.c
Log Message:
-----------
[Libomptarget] Add missing include to define `printf`
Summary:
This test was failing because of an implicit declaration of `printf`
which isn't legal with newer C, causing it to fail. This patch just adds
the necessary header.
Commit: 9e0dbd2a2a4adee04b31e0cfa172fc36dd4ac313
https://github.com/llvm/llvm-project/commit/9e0dbd2a2a4adee04b31e0cfa172fc36dd4ac313
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-06-08 (Wed, 08 Jun 2022)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Log Message:
-----------
[Target] Remove `startswith` for adding `SHF_EXCLUDE` to offload section
Summary:
We use the special section name `.llvm.offloading` to store device
imagees in the host object file. We want these to be stripped by the
linker as they are not used after linking so we use the `SHF_EXCLUDE`
flag to instruct the linker to drop them. We used to do this for all
sections that started with `.llvm.offloading` when we encoded metadata
in the section name itself. Now we embed a special binary containing the
metadata, we should only add the flag on this name specifically.
Compare: https://github.com/llvm/llvm-project/compare/63aa853389ac...9e0dbd2a2a4a
More information about the All-commits
mailing list