Changes

Summary

  1. Build only for x86 per Brian Friesen request. (details)
Commit 5c0f6043976643b1407ae9cadfdb8c988205fa43 by gkistanova
Build only for x86 per Brian Friesen request.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. Set the captures on a CXXRecordDecl representing a lambda closure type (details)
  2. PR46209: properly determine whether a copy assignment operator is (details)
  3. [Driver] Migrate some -f/-fno options to use OptInFFlag and OptOutFFlag (details)
  4. [AddressSanitizer] Don't use weak linkage for __{start,stop}_asan_globals (details)
  5. [StackSafety,NFC] Ignore callee declarations (details)
  6. [DWARFYAML][debug_aranges] Replace InitialLength with Format and Length. (details)
  7. Revert "[InstCombine][NFC] Factor out constant check" (details)
Commit c13dd74e311d2ac70dd3ea663d800307d1aa5b6b by richard
Set the captures on a CXXRecordDecl representing a lambda closure type
before marking it complete.

No functionality change intended.
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit c57f8a3a20540fcf9fbf98c0a73f381ec32fce2a by richard
PR46209: properly determine whether a copy assignment operator is
trivial.

We previously took a shortcut by assuming that if a subobject had a
trivial copy assignment operator (with a few side-conditions), we would
always invoke it, and could avoid going through overload resolution.
That turns out to not be correct in the presenve of ref-qualifiers (and
also won't be the case for copy-assignments with requires-clauses
either). Use the same logic for lazy declaration of copy-assignments
that we use for all other special member functions.
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
The file was modifiedclang/include/clang/AST/CXXRecordDeclDefinitionBits.def
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was modifiedclang/test/SemaCXX/type-traits.cpp
The file was modifiedclang/test/SemaObjCXX/arc-0x.mm
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/AST/ast-dump-special-member-functions.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/AST/ast-dump-records.cpp
The file was modifiedclang/test/AST/ast-dump-decl.cpp
The file was modifiedclang/test/AST/ast-dump-decl-context-json.cpp
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit e5158b52730d323bb8cd2cba6dc6c89b90cba452 by maskray
[Driver] Migrate some -f/-fno options to use OptInFFlag and OptOutFFlag
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/test/CodeGen/no-junk-ftrunc.c
Commit d76e62fdb7a93d9a33f642b6b528f2562cc3c3f4 by phosek
[AddressSanitizer] Don't use weak linkage for __{start,stop}_asan_globals

It should not be necessary to use weak linkage for these. Doing so
implies interposablity and thus PIC generates indirections and
dynamic relocations, which are unnecessary and suboptimal. Aside
from this, ASan instrumentation never introduces GOT indirection
relocations where there were none before--only new absolute relocs
in RELRO sections for metadata, which are less problematic for
special linkage situations that take pains to avoid GOT generation.

Patch By: mcgrathr

Differential Revision: https://reviews.llvm.org/D80605
The file was modifiedllvm/test/Instrumentation/AddressSanitizer/global_metadata.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit 3c32af58f6c5b78d578e576eeaa81f14c2a71953 by Vitaly Buka
[StackSafety,NFC] Ignore callee declarations

It's going to fail FunctionInfo lookup anyway.
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 929edd8bd25b0390de97994eb90f42b26636d205 by Xing
[DWARFYAML][debug_aranges] Replace InitialLength with Format and Length.

This patch addresses the comment in [D80972](https://reviews.llvm.org/D80972#inline-744217).

Before this patch, the initial length field of .debug_aranges section should be declared as:

```
## 32-bit DWARF
debug_aranges:
  - Length:
      TotalLength: 0x20
    Version: 2
    ...

## 64-bit DWARF
debug_aranges:
  - Length:
      TotalLength:   0xffffffff
      TotalLength64: 0x20
    Version: 2
    ...
```

After this patch:

```
## 32-bit DWARF
debug_aranges:
  - [[Format:  DWARF32]] ## Optional
    Length:  0x20
    Version: 2
    ...

## 64-bit DWARF
debug_aranges:
  - Format:  DWARF64
    Length:  0x20
    Version: 2
```

Current implementation of generating DWARF64 .debug_aranges section is buggy. A follow-up patch will improve it and add test cases for DWARF64.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D81063
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/test/tools/llvm-gsymutil/ARM_AArch64/fat-macho-dwarf.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-aranges.yaml
The file was modifiedllvm/test/tools/llvm-gsymutil/X86/mach-dwarf.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/DWARF-debug_aranges-error.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
Commit 80cb25cbd555f9634836b766c86aead435b60eaa by mkazantsev
Revert "[InstCombine][NFC] Factor out constant check"

This reverts commit 9bdb91889020b3e61cba26adb1b9c64a24c09f95.

This refactoring proved to not be useful.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

Summary

  1. Build only for x86 per Brian Friesen request. (details)
Commit 5c0f6043976643b1407ae9cadfdb8c988205fa43 by gkistanova
Build only for x86 per Brian Friesen request.
The file was modifiedbuildbot/osuosl/master/config/builders.py