UnstableChanges

Summary

  1. [libc] Move FPExceptMatcher out of TestHelpers.h (details)
  2. [vscode-mlir] Update package.json in preparation for publishing (details)
  3. [mlir-vscode] Create a proper output channel for the MLIRContext (details)
  4. [profile] Fix profile merging with binary IDs (details)
  5. [vscode-mlir] Fix the package repo url. (details)
  6. [sanitizer] Remove cpplint annotations (details)
  7. [libc] Add trigonometric and exponential functions to the windows config. (details)
  8. Revert "[lldb] [DWARF-5] Be lazier about loading .dwo files" (details)
  9. Revert "[profile] Fix profile merging with binary IDs" (details)
  10. [profile] Fix profile merging with binary IDs (details)
  11. Revert "[clang][cache] Update Fuchsia-stage2.cmake to create hwasan multilibs" (details)
  12. [NFC][sanitizer] clang-format few files (details)
Commit 3d758e68a766545db0cc92d177d309f0616a67f4 by sivachandra
[libc] Move FPExceptMatcher out of TestHelpers.h

TestHelpers.h pulls few pieces from LLVM libc's unittest framework
which aren't available on platforms like Fuchsia which use their own
unittest framework. So, by moving FPExceptMatcher to a different file
we can exclude LLVM libc specific pieces in a cleaner way.

In a later pass, it might make more sense to rename TestHelpers.h also
to FPMatcher.h. That way, we can make macros like EXPECT_FP_EQ to be
equivalent to EXPECT_EQ on platforms like Fuchsia.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D107129
The file was addedlibc/utils/FPUtil/FPExceptMatcher.h
The file was modifiedlibc/utils/FPUtil/TestHelpers.cpp
The file was addedlibc/utils/FPUtil/FPExceptMatcher.cpp
The file was modifiedlibc/test/src/fenv/enabled_exceptions_test.cpp
The file was modifiedlibc/test/src/fenv/feholdexcept_test.cpp
The file was modifiedlibc/utils/FPUtil/TestHelpers.h
The file was modifiedlibc/utils/FPUtil/CMakeLists.txt
Commit 3e5906499ff42fc54c36fcd8c96760be311fc492 by riddleriver
[vscode-mlir] Update package.json in preparation for publishing

Quite a few things were out-of-date, or just not
organized well. This revision updates the extension
name, repo, icon, and many other components in
preperation for publishing the extension to the
marketplace.
The file was modifiedmlir/utils/vscode/package.json
The file was modifiedmlir/utils/vscode/package-lock.json
The file was modifiedmlir/docs/Tools/MLIRLSP.md
Commit 03b2d1a659228bc2fe7972357d9b8b41eda2f558 by riddleriver
[mlir-vscode] Create a proper output channel for the MLIRContext

This allows for reusing the same output channel when the extension reloads after updating the server. Currently, whenever the extension restarts a new output channel is created (which can lead to a large number of seemingly dead output channels).
The file was modifiedmlir/utils/vscode/src/extension.ts
The file was modifiedmlir/utils/vscode/src/mlirContext.ts
Commit dcadd64986b8a84dc244d4e7faa848fb4c18cea6 by phosek
[profile] Fix profile merging with binary IDs

This fixes support for merging profiles which broke as a consequence
of e50a38840dc3db5813f74b1cd2e10e6d984d0e67. The issue was missing
adjustment in merge logic to account for the binary IDs which are
now included in the raw profile just after header.

In addition, this change also:
* Includes the version in module signature that's used for merging
to avoid accidental attempts to merge incompatible profiles.
* Moves the binary IDs size field after version field in the header
as was suggested in the review.

Differential Revision: https://reviews.llvm.org/D107143
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedllvm/test/tools/llvm-profdata/raw-64-bits-le.test
The file was modifiedllvm/test/tools/llvm-profdata/raw-32-bits-be.test
The file was modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
The file was modifiedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedllvm/test/tools/llvm-profdata/raw-two-profiles.test
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/test/tools/llvm-profdata/Inputs/c-general.profraw
The file was modifiedllvm/test/tools/llvm-profdata/raw-64-bits-be.test
The file was modifiedllvm/test/tools/llvm-profdata/raw-32-bits-le.test
The file was modifiedcompiler-rt/test/profile/Linux/binary-id.c
Commit 634b086f6e3b84f2a9046659b6901e8ce7c8f1c3 by riddleriver
[vscode-mlir] Fix the package repo url.

It should be llvm/vscode-mlir not llvm-project/vscode-mlir.
The file was modifiedmlir/utils/vscode/package.json
Commit 44c83eccf9ef8bb127a2fa4e9da7f21d732b5829 by Vitaly Buka
[sanitizer] Remove cpplint annotations

cpplint was removed by D107197

Differential Revision: https://reviews.llvm.org/D107198
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface.h
The file was modifiedcompiler-rt/test/lsan/TestCases/use_globals_unused.cpp
The file was modifiedcompiler-rt/include/sanitizer/dfsan_interface.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_asm.h
The file was modifiedcompiler-rt/lib/msan/tests/msan_test.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan_interceptors.cpp
The file was modifiedcompiler-rt/lib/msan/msan_interceptors.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/vla_condition_overflow.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_printf_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was modifiedcompiler-rt/utils/generate_netbsd_ioctls.awk
Commit 66d92efc6640606a22760433c02c3d5dbb4866ae by sivachandra
[libc] Add trigonometric and exponential functions to the windows config.
The file was modifiedlibc/config/windows/entrypoints.txt
Commit dfb6f7b01595a0f4684615ed867c6c76e8ea51b3 by stilis
Revert "[lldb] [DWARF-5] Be lazier about loading .dwo files"

This reverts commit 8dfd6cae9bd62ae5ef056b994ece2e98f1558830.

This change broke the windows lldb bot:
https://lab.llvm.org/buildbot/#/builders/83/builds/8842
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was removedlldb/test/Shell/SymbolFile/DWARF/split-optimized.c
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/x86/dwp.s
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
The file was removedlldb/test/Shell/SymbolFile/DWARF/dwarf5-lazy-dwo.c
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/lit.local.cfg
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Commit d3dd07e3d05a72da8834044d2efa885845c7d879 by phosek
Revert "[profile] Fix profile merging with binary IDs"

This reverts commit dcadd64986b8a84dc244d4e7faa848fb4c18cea6.
The file was modifiedllvm/test/tools/llvm-profdata/raw-32-bits-le.test
The file was modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
The file was modifiedllvm/test/tools/llvm-profdata/raw-32-bits-be.test
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
The file was modifiedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
The file was modifiedllvm/test/tools/llvm-profdata/raw-two-profiles.test
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/test/tools/llvm-profdata/raw-64-bits-be.test
The file was modifiedllvm/test/tools/llvm-profdata/raw-64-bits-le.test
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedllvm/test/tools/llvm-profdata/Inputs/c-general.profraw
The file was modifiedcompiler-rt/test/profile/Linux/binary-id.c
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
Commit 83302c84890e5e6cb74c7d6c9f8eaaa56db0077c by phosek
[profile] Fix profile merging with binary IDs

This fixes support for merging profiles which broke as a consequence
of e50a38840dc3db5813f74b1cd2e10e6d984d0e67. The issue was missing
adjustment in merge logic to account for the binary IDs which are
now included in the raw profile just after header.

In addition, this change also:
* Includes the version in module signature that's used for merging
to avoid accidental attempts to merge incompatible profiles.
* Moves the binary IDs size field after version field in the header
as was suggested in the review.

Differential Revision: https://reviews.llvm.org/D107143
The file was modifiedllvm/test/tools/llvm-profdata/raw-32-bits-le.test
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
The file was modifiedllvm/test/tools/llvm-profdata/raw-two-profiles.test
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
The file was modifiedllvm/test/tools/llvm-profdata/Inputs/compressed.profraw
The file was modifiedcompiler-rt/test/profile/Linux/binary-id.c
The file was modifiedllvm/test/tools/llvm-profdata/raw-32-bits-be.test
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedllvm/test/tools/llvm-profdata/raw-64-bits-le.test
The file was modifiedllvm/test/tools/llvm-profdata/Inputs/c-general.profraw
The file was modifiedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
The file was modifiedllvm/test/tools/llvm-profdata/raw-64-bits-be.test
Commit a9d1970384aa3908adbf6f50f110c375def58947 by phosek
Revert "[clang][cache] Update Fuchsia-stage2.cmake to create hwasan multilibs"

This reverts commit bb438f6cbfc08eaa2cd9124a0ad581dd29f819b4 since
it broke our Windows builders and we need more time to investigate
the issue.
The file was modifiedclang/cmake/caches/Fuchsia-stage2.cmake
Commit 2564f27f1868b07292809c44e4e9e7a00b35d4e1 by Vitaly Buka
[NFC][sanitizer] clang-format few files
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
The file was modifiedcompiler-rt/include/sanitizer/linux_syscall_hooks.h