SuccessChanges

Summary

  1. Fix openmp-offload.c test on Windows
  2. [codeview] Fix class name formatting In particular, removes spaces between template arguments of class templates to better match VS type visualizers.
  3. [asan] Restore dead-code-elimination optimization for Fuchsia Summary: r310244 fixed a bug introduced by r309914 for non-Fuchsia builds. In doing so it also reversed the intended effect of the change for Fuchsia builds, which was to allow all the AllocateFromLocalPool code and its variables to be optimized away entirely. This change restores that optimization for Fuchsia builds, but doesn't have the original change's bug because the comparison arithmetic now takes into account the size of the elements. Submitted on behalf of Roland McGrath. Reviewers: vitalybuka, alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits, kubamracek Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D36430
  4. [AMDGPU] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
  5. [libFuzzer] simplify code, NFC
  6. [libFuzzer] remove stale code
  7. [libFuzzer] simplify the implementation of -print_coverage=1
  8. Fix asan_test.cc build on NetBSD Summary: Include <stdarg.h> for variable argument list macros (va_list, va_start etc). Add fallback definition of _LIBCPP_GET_C_LOCALE, this is required for GNU libstdc++ compatibility. Define new macro SANITIZER_GET_C_LOCALE. This value is currently required for FreeBSD and NetBSD for printf_l(3) tests. Sponsored by <The NetBSD Foundation> Reviewers: joerg, kcc, vitalybuka, filcab, fjricci Reviewed By: vitalybuka Subscribers: llvm-commits, emaste, kubamracek, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D36406
  9. Add NetBSD support in asan_stack.h Summary: Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas. Sponsored by <The NetBSD Foundation> Reviewers: joerg, kcc, vitalybuka, filcab, fjricci Reviewed By: vitalybuka Subscribers: davide, kubamracek, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D36377
  10. [libFuzzer] use custom compile flags for libFuzzer benchmarks
  11. [KnownBits] Fix copy pasto in comment. NFC
  12. This adds the argument --dump-ir to clang-import-test, which allows viewing of the final IR. This is useful for confirming that structure layout was correct. I've added two tests: - A test that checks that structs in top-level code are completed correctly during struct layout (they are) - A test that checks that structs defined in function bodies are cpmpleted correctly during struct layout (currently they are not, so this is XFAIL). The second test fails because LookupSameContext() (ExternalASTMerger.cpp) can't find the struct. This is an issue I intend to resolve separately. Differential Revision: https://reviews.llvm.org/D36429
  13. [X86][AVX] Added test for broadcast shuffle from binary sources with undefs (D36393)
Revision 310332 by rnk:
Fix openmp-offload.c test on Windows
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/Driver/openmp-offload.cclang.src/test/Driver/openmp-offload.c
Revision 310331 by rnk:
[codeview] Fix class name formatting

In particular, removes spaces between template arguments of class
templates to better match VS type visualizers.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGDebugInfo.cppclang.src/lib/CodeGen/CGDebugInfo.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGDebugInfo.hclang.src/lib/CodeGen/CGDebugInfo.h
The file was modified/cfe/trunk/test/CodeGenCXX/debug-info-codeview-display-name.cppclang.src/test/CodeGenCXX/debug-info-codeview-display-name.cpp
Revision 310330 by Vitaly Buka:
[asan] Restore dead-code-elimination optimization for Fuchsia

Summary:
r310244 fixed a bug introduced by r309914 for non-Fuchsia builds.
In doing so it also reversed the intended effect of the change for
Fuchsia builds, which was to allow all the AllocateFromLocalPool
code and its variables to be optimized away entirely.

This change restores that optimization for Fuchsia builds, but
doesn't have the original change's bug because the comparison
arithmetic now takes into account the size of the elements.

Submitted on behalf of Roland McGrath.

Reviewers: vitalybuka, alekseyshl

Reviewed By: alekseyshl

Subscribers: llvm-commits, kubamracek

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D36430
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/asan_malloc_linux.cccompiler-rt.src/lib/asan/asan_malloc_linux.cc
Revision 310328 by eugenezelenko:
[AMDGPU] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIAnnotateControlFlow.cppllvm.src/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIFixSGPRCopies.cppllvm.src/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cppllvm.src/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInsertWaits.cppllvm.src/lib/Target/AMDGPU/SIInsertWaits.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cppllvm.src/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.hllvm.src/lib/Target/AMDGPU/SIInstrInfo.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cppllvm.src/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIMachineFunctionInfo.cppllvm.src/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIMachineFunctionInfo.hllvm.src/lib/Target/AMDGPU/SIMachineFunctionInfo.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIPeepholeSDWA.cppllvm.src/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
Revision 310326 by kcc:
[libFuzzer] simplify code, NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerTracePC.cppllvm.src/lib/Fuzzer/FuzzerTracePC.cpp
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerTracePC.hllvm.src/lib/Fuzzer/FuzzerTracePC.h
Revision 310325 by kcc:
[libFuzzer] remove stale code
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerTracePC.cppllvm.src/lib/Fuzzer/FuzzerTracePC.cpp
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerUtil.cppllvm.src/lib/Fuzzer/FuzzerUtil.cpp
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerUtil.hllvm.src/lib/Fuzzer/FuzzerUtil.h
Revision 310324 by kcc:
[libFuzzer] simplify the implementation of -print_coverage=1
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerTracePC.cppllvm.src/lib/Fuzzer/FuzzerTracePC.cpp
The file was modified/llvm/trunk/lib/Fuzzer/test/coverage.testllvm.src/lib/Fuzzer/test/coverage.test
Revision 310323 by kamil:
Fix asan_test.cc build on NetBSD

Summary:
Include <stdarg.h> for variable argument list macros (va_list, va_start etc).

Add fallback definition of _LIBCPP_GET_C_LOCALE, this is required for
GNU libstdc++ compatibility. Define new macro SANITIZER_GET_C_LOCALE.
This value is currently required for FreeBSD and NetBSD for printf_l(3) tests.

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, kcc, vitalybuka, filcab, fjricci

Reviewed By: vitalybuka

Subscribers: llvm-commits, emaste, kubamracek, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D36406
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/tests/asan_test.cccompiler-rt.src/lib/asan/tests/asan_test.cc
Revision 310322 by kamil:
Add NetBSD support in asan_stack.h

Summary:
Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas.

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, kcc, vitalybuka, filcab, fjricci

Reviewed By: vitalybuka

Subscribers: davide, kubamracek, llvm-commits, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D36377
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/asan_stack.hcompiler-rt.src/lib/asan/asan_stack.h
Revision 310321 by kcc:
[libFuzzer] use custom compile flags for libFuzzer benchmarks
Change TypePath in RepositoryPath in Workspace
The file was modified/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.shzorg/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
Revision 310320 by ctopper:
[KnownBits] Fix copy pasto in comment. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/KnownBits.hllvm.src/include/llvm/Support/KnownBits.h
Revision 310318 by Sean Callanan:
This adds the argument --dump-ir to clang-import-test, which allows
viewing of the final IR. This is useful for confirming that
structure layout was correct.

I've added two tests:

- A test that checks that structs in top-level code are completed
  correctly during struct layout (they are)
- A test that checks that structs defined in function bodies are
  cpmpleted correctly during struct layout (currently they are not,
  so this is XFAIL).

The second test fails because LookupSameContext()
(ExternalASTMerger.cpp) can't find the struct. This is an issue I
intend to resolve separately.

Differential Revision: https://reviews.llvm.org/D36429
Change TypePath in RepositoryPath in Workspace
The file was added/cfe/trunk/test/Import/local-structclang.src/test/Import/local-struct
The file was added/cfe/trunk/test/Import/local-struct/Inputs/Callee.cppclang.src/test/Import/local-struct/Inputs/Callee.cpp
The file was removed/cfe/trunk/test/Import/local-struct/Inputs/Hierarchy.cppclang.src/test/Import/local-struct/Inputs/Hierarchy.cpp
The file was modified/cfe/trunk/test/Import/local-struct/test.cppclang.src/test/Import/local-struct/test.cpp
The file was added/cfe/trunk/test/Import/struct-layoutclang.src/test/Import/struct-layout
The file was added/cfe/trunk/test/Import/struct-layout/Inputs/Callee.cppclang.src/test/Import/struct-layout/Inputs/Callee.cpp
The file was removed/cfe/trunk/test/Import/struct-layout/Inputs/Hierarchy.cppclang.src/test/Import/struct-layout/Inputs/Hierarchy.cpp
The file was modified/cfe/trunk/test/Import/struct-layout/test.cppclang.src/test/Import/struct-layout/test.cpp
The file was modified/cfe/trunk/tools/clang-import-test/clang-import-test.cppclang.src/tools/clang-import-test/clang-import-test.cpp
Revision 310317 by rksimon:
[X86][AVX] Added test for broadcast shuffle from binary sources with undefs (D36393)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/avx-vbroadcast.llllvm.src/test/CodeGen/X86/avx-vbroadcast.ll