1. [LIBOMPTARGET]FIX define declaration, NFC (details)
  2. [JITLink][ELF/x86-64] When building PLT stub, use -4 offset for PCRel32. (details)
  3. [ORC] Fix debug logging message. (details)
  4. Remove requirement for -maltivec to be used when using -mabi=vec-extabi or -mabi=vec-default when not using vector code (details)
  5. Revert "[flang] Search for #include "file" in right directory" (details)
  6. [ORC] Attempt to auto-claim responsibility for weak defs in ObjectLinkingLayer. (details)
Commit 4a63e53373f92adb2261ff5554ec633001ed0eee by noreply
[LIBOMPTARGET]FIX define declaration, NFC

Fixed declaration of define by adding a comma symbol. Required to fix build without profiling.
The file was modifiedopenmp/libomptarget/src/private.h (diff)
Commit b3e0135a6f27b61f9dfeed95fc9d74d06e479e5a by Lang Hames
[JITLink][ELF/x86-64] When building PLT stub, use -4 offset for PCRel32.

This is required for ELF where PCRel32 doesn't implicitly subtract 4.

No test case yet: I haven't figured out a good way to test stub
generation -- this may required extensions to jitlink-check.
The file was modifiedllvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp (diff)
Commit 476abdb562d7227cdff2329edebe7f6cb3c4b7c8 by Lang Hames
[ORC] Fix debug logging message.
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp (diff)
Commit 028d7a36681f1ad0388e540cc231e480a487a09e by zarko
Remove requirement for -maltivec to be used when using -mabi=vec-extabi or -mabi=vec-default when not using vector code

The previous implementation required that `-maltivec` be specified when using either `-mabi=vec-extabi` or `-mabi=vec-default`, this patch removes that requirement.

Reviewed By: cebowleratibm

Differential Revision:
The file was modifiedclang/include/clang/Basic/ (diff)
The file was modifiedclang/test/CodeGen/altivec.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
Commit e878589098c2ed510159e67d9c6c5e0f3dfbf5a6 by andrzej.warzynski
Revert "[flang] Search for #include "file" in right directory"

This reverts commit d987b61b1dce9948801ac37704477e7c257100b1.

As pointed out in, the reverted commit
causes build failures in the following Flang buildbots:
I'm guessing that the patch was only tested with
`FLANG_BUILD_NEW_DRIVER=Off` (i.e. the default). The builders listed
above set `FLANG_BUILD_NEW_DRIVER` to `On`.

Although fixing the build is relatively easy, the reverted patch
modifies the behaviour of the frontend, which breaks driver tests. In
particular, in support for `-I` was
added that depends on the current behaviour. The reverted patch
changes that behaviour. Either the tests have to be updated or the
change fine-tuned.
The file was modifiedflang/include/flang/Parser/source.h (diff)
The file was modifiedflang/lib/Parser/prescan.cpp (diff)
The file was modifiedflang/lib/Parser/source.cpp (diff)
The file was modifiedflang/lib/Parser/preprocessor.cpp (diff)
The file was modifiedflang/include/flang/Parser/provenance.h (diff)
The file was modifiedflang/lib/Parser/provenance.cpp (diff)
The file was modifiedflang/lib/Parser/parsing.cpp (diff)
The file was modifiedflang/tools/f18/f18.cpp (diff)
Commit 4dc110a4b83c625502092b127ca0e9eb13824297 by Lang Hames
[ORC] Attempt to auto-claim responsibility for weak defs in ObjectLinkingLayer.

Compilers may insert new definitions during compilation, E.g. EH personality
function pointers, or named constant pool entries. This commit causes
ObjectLinkingLayer to attempt to claim responsibility for all weak definitions
in objects as they're linked. This is always safe (first claimant for each
symbol is granted responsibility, subsequent claims are rejected without error)
and prevents compiler-injected symbols from being dead-stripped (which they
will be if they remain unclaimed by anyone).

This change was motivated by errors seen by an out-of-tree client while testing
eh-frame support in JITLink ELF/x86-64: IR containing exceptions didn't define
DW.ref.__gxx_personality_v0 (since it's added by CodeGen), and this caused
DW.ref.__gxx_personality_v0 to be dead-stripped leading to linker failures.

No test case yet: We won't have a way to test in-tree until we enable JITLink
for lli on Linux.
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp (diff)