SuccessChanges

Summary

  1. [lld-macho] Mark weak symbols in symbol table (details)
  2. [lld-macho] Export trie addresses should be relative to the image base (details)
  3. [EHStreamer] Fix a "Continue to action" -fverbose-asm comment when multi-byte LEB128 encoding is needed (details)
Commit 0a7e56f74c2adde9a4bc2c1163e7ed3aff984584 by jezng
[lld-macho] Mark weak symbols in symbol table

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D86908
The file was modifiedlld/MachO/SyntheticSections.cpp (diff)
The file was modifiedlld/test/MachO/symtab.s (diff)
Commit abd70fb3983f342bc1c90f9c70a7b59790ad5206 by jezng
[lld-macho] Export trie addresses should be relative to the image base

We didn't notice this earlier this we were only testing the export trie
encoded in a dylib, whose image base starts at zero. But a regular
executable contains `__PAGEZERO`, which means it has a non-zero image
base. This bug was discovered after attempting to run some programs that
performed `dlopen` on an executable.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D87780
The file was modifiedlld/MachO/ExportTrie.h (diff)
The file was modifiedlld/test/MachO/export-trie.s (diff)
The file was modifiedlld/MachO/ExportTrie.cpp (diff)
The file was modifiedlld/MachO/SyntheticSections.cpp (diff)
Commit dbc616e9825080f617865f7698647985d7c24e5e by i
[EHStreamer] Fix a "Continue to action" -fverbose-asm comment when multi-byte LEB128 encoding is needed

This only happens with more than 64 action records and it is difficult to construct a test.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp (diff)