SuccessChanges

Summary

  1. [gn build] Port b1f4e5979b7 (details)
  2. [MC] [Win64EH] Avoid producing malformed xdata records (details)
  3. [ValueTracking] Remove a stray semicolon. NFC. (details)
Commit a5d0fd19d97ce7d32a266c5131ac82071b2c4a97 by llvmgnsyncbot
[gn build] Port b1f4e5979b7
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn (diff)
Commit 37ef743cbf3fb1c56cca8035d9acb0cde83976f9 by martin
[MC] [Win64EH] Avoid producing malformed xdata records

If there's no unwinding opcodes, omit writing the xdata/pdata records.

Previously, this generated truncated xdata records, and llvm-readobj
would error out when trying to print them.

If writing of an xdata record is forced via the .seh_handlerdata
directive, skip it if there's no info to make a sensible unwind
info structure out of, and clearly error out if such info appeared
later in the process.

Differential Revision: https://reviews.llvm.org/D86527
The file was modifiedllvm/test/MC/AArch64/seh.s (diff)
The file was modifiedllvm/include/llvm/MC/MCWinEH.h (diff)
The file was modifiedllvm/lib/MC/MCWin64EH.cpp (diff)
Commit db1ec04963cce70f2593e58cecac55f2e6accf52 by martin
[ValueTracking] Remove a stray semicolon. NFC.

This silences warnings when built with GCC at least.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)