SuccessChanges

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. [AddressSanitizer] Don't use weak linkage for __{start,stop}_asan_globals (details)
  2. [StackSafety,NFC] Ignore callee declarations (details)
  3. [DWARFYAML][debug_aranges] Replace InitialLength with Format and Length. (details)
  4. Revert "[InstCombine][NFC] Factor out constant check" (details)
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/include/llvm/ObjectYAML/DWARFYAML.h
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
The file was modifiedllvm/test/tools/llvm-gsymutil/ARM_AArch64/fat-macho-dwarf.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-aranges.yaml
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/DWARF-debug_info.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/DWARF-debug_aranges-error.yaml
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/test/tools/llvm-gsymutil/X86/mach-dwarf.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp
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