FailedChanges

Summary

  1. [LLD][ELF] - Update tests after yaml2obj tool update. (details)
  2. [yaml2obj][obj2yaml] - Do not create a symbol table by default. (details)
  3. [AMDGPU] Fix assertion due to initializer list (details)
Commit c4107383e509b459943ca4c529e90d25a2f6bdaa by grimar
[LLD][ELF] - Update tests after yaml2obj tool update.
yaml2obj doesn't create .symtab by default anymore.
llvm-svn: 375360
The file was modifiedlld/test/ELF/invalid/sht-group.test
The file was modifiedlld/test/ELF/invalid/bad-reloc-target.test
Commit 2779987d0e2985a9618bd87b5f6532722645a5f2 by grimar
[yaml2obj][obj2yaml] - Do not create a symbol table by default.
This patch tries to resolve problems faced in D68943 and uses some of
the code written by Konrad Wilhelm Kleine in that patch.
Previously, yaml2obj tool always created a .symtab section. This patch
changes that. With it we only create it when have a "Symbols:" tag in
the YAML document or when we need to create it because it is used by
another section(s).
obj2yaml follows the new behavior and does not print "Symbols:" anymore
when there is no symbol table.
Differential revision: https://reviews.llvm.org/D69041
llvm-svn: 375361
The file was modifiedllvm/test/tools/llvm-readobj/elf-wrong-shstrtab-type.test
The file was modifiedllvm/test/tools/obj2yaml/no-symbol-reloc.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-no-relocs.test
The file was modifiedllvm/test/tools/yaml2obj/elf-header-sh-fields.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/shstrtab-optimize.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/explicit-keep-remove.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/basic-only-section.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-versioninfo.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-aarch64.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-file-headers.test
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/test/tools/yaml2obj/elf-comdat-broken-info.yaml
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-mips64.test
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/only-section-many.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-invalid-versioning.test
The file was modifiedllvm/test/tools/yaml2obj/implicit-sections-types.test
The file was modifiedllvm/test/Object/objdump-sectionheaders.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-invalid-shstrndx.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-arm.test
The file was modifiedllvm/test/tools/yaml2obj/symtab-implicit-sections-flags.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/no-strip-all.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-mips.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/invalid-e_shoff.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/explicit-only-section-remove.test
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/llvm-readobj/elf-no-phdrs.test
The file was modifiedllvm/test/tools/yaml2obj/elf-custom-null-section.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/no-symbol-relocation.test
The file was modifiedllvm/test/tools/yaml2obj/invalid-symboless-relocation.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/ELFYAML.h
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/null-symbol.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/add-section-remove.test
The file was modifiedllvm/test/tools/yaml2obj/reloc-sec-info.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-relr-relocs.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-unneeded-remove-debug-keep-link.test
The file was modifiedllvm/test/tools/llvm-objdump/full-contents.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-hidden-versym.test
The file was modifiedllvm/test/tools/llvm-readobj/check-output-order.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/rename-section-multiple.test
The file was modifiedllvm/test/tools/yaml2obj/symboless-relocation.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/wildcard-syntax.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/remove-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/keep-only-section.test
The file was modifiedllvm/test/tools/obj2yaml/elf-llvm-addrsig-section.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/symtab-error-on-remove-strtab.test
The file was modifiedllvm/test/tools/llvm-objdump/relocations-elf.test
The file was modifiedllvm/test/tools/llvm-readobj/reloc-types-elf-lanai.test
The file was modifiedllvm/test/tools/yaml2obj/implicit-sections.test
The file was modifiedllvm/test/tools/obj2yaml/section-group.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/symtab-link.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-dynamic-malformed.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test
The file was modifiedllvm/test/tools/yaml2obj/dynamic-symbols.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/add-section.test
The file was addedllvm/test/tools/obj2yaml/elf-no-symtab.yaml
The file was modifiedllvm/test/tools/yaml2obj/elf-sht-symtab-shndx.yaml
The file was modifiedllvm/test/tools/obj2yaml/elf-sht-symtab-shndx.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/add-symbol.test
Commit e6125fc0ec3418d6529b52f15853a06e000d478d by Yaxun.Liu
[AMDGPU] Fix assertion due to initializer list
Sometimes a global var is replaced by a different llvm value. clang use
GetAddrOfGlobalVar to get the original llvm global variable. For most
targets, GetAddrOfGlobalVar returns either the llvm global variable or a
bitcast of the llvm global variable. However, for AMDGPU target,
GetAddrOfGlobalVar returns the addrspace cast or addrspace cast plus
bitcast of the llvm global variable. To get the llvm global variable,
these casts need to be stripped, otherwise there is assertion.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D69129
llvm-svn: 375362
The file was modifiedclang/test/CodeGenCXX/cxx11-extern-constexpr.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp