SuccessChanges

Summary

  1. [llvm-dwarfdump] Warn user when it encounters no null terminated strings. (details)
  2. [InstCombine] Fix a couple crashes with extractelement on a scalable vector. (details)
  3. [compiler-rt] Don't build llvm-lit in RUNTIMES-BUILD (details)
Commit 67ce11405b08609afb35e218ed7d28ef5e16a55f by Xing
[llvm-dwarfdump] Warn user when it encounters no null terminated strings.

When llvm-dwarfdump encounters no null terminated strings, we should
warn user about it rather than ignore it and print nothing.

Before this patch, when llvm-dwarfdump dumps a .debug_str section whose
content is "abc", it prints:

```
.debug_str contents:
```

After this patch:

```
.debug_str contents:
warning: no null terminated string at offset 0x0
```

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D86998
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp (diff)
The file was modifiedllvm/test/tools/llvm-dwarfdump/debug-str.yaml (diff)
Commit 96ef6998dfcc4d7f2c7fcb87eb9369e94a40e127 by efriedma
[InstCombine] Fix a couple crashes with extractelement on a scalable vector.

Differential Revision: https://reviews.llvm.org/D86989
The file was modifiedllvm/test/Transforms/InstCombine/vscale_extractelement.ll (diff)
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCasts.cpp (diff)
Commit 0cefaec2e876182313826bd13d5b9f8f3623622f by Jinsong Ji
[compiler-rt] Don't build llvm-lit in RUNTIMES-BUILD

With runtimes-build, we lost map config for llvm-lit, so we can NOT run
lit from source dir anymore.
All the subdir target like: ninja check-llvm-codegen-powerpc will fail
too.

We will get some cfg error like:
  File "../lvm-project/llvm/test/lit.cfg.py", line 21, in <module>
    config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
AttributeError: 'NoneType' object has no attribute 'use_lit_shell'

This is reset of map config in llvm-lit rebuild.
We already have llvm-lit in runtimes-build, so don't build it.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D87002
The file was modifiedcompiler-rt/CMakeLists.txt (diff)