Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update clang to clang-17 #8108

Closed
wants to merge 14 commits into from
Closed

Update clang to clang-17 #8108

wants to merge 14 commits into from

Conversation

jonathanmetzman
Copy link
Contributor

Fixes: #8059

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms--sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@Navidem
Copy link
Contributor

Navidem commented Aug 1, 2022

@DavidKorczynski does Fuzz Introspector plugin work with clang15?

@jonathanmetzman
Copy link
Contributor Author

Weird i got this working locally

@jonathanmetzman
Copy link
Contributor Author

jonathanmetzman commented Aug 1, 2022

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@DavidKorczynski
Copy link
Collaborator

@DavidKorczynski does Fuzz Introspector plugin work with clang15?

Yes, when I upgraded the plugin to new pass manager I also added support for llvm 15. See this commit for reference as well: ossf/fuzz-introspector@84d5d7c I will do some testing to verify if its robust

If I remember correctly some things changed slightly around the way of enabling the old pass manager. I can't remember -- we should double check this as there seems to be a bit of friction in the pass manager in recent LLVM upgrades

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

3 similar comments
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

1 similar comment
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

has some i386 build problems

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py skcms --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py all --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

The main things failing are python projects because asan_with_fuzzer.so no longer exists.

@jonathanmetzman
Copy link
Contributor Author

The main things failing are python projects because asan_with_fuzzer.so no longer exists.

Filed: google/atheris#36

@jonathanmetzman
Copy link
Contributor Author

I have a fix for the python issue: google/atheris#37

@jonathanmetzman
Copy link
Contributor Author

There's also some rust issues that look like this:

/usr/bin/ld: cannot find -lc++

@jonathanmetzman
Copy link
Contributor Author

jonathanmetzman commented Aug 4, 2022

There's also some rust issues that look like this:

/usr/bin/ld: cannot find -lc++

I think it's because clang's new install location for libc++ is in /usr/local/lib/x86_64-unknown-linux-gnu/ instead of /usr/local/lib/
@morehouse @hctim Do you know what caused this or how to fix (changing LD_LIBRARY_PATH I guess)?

@jonathanmetzman
Copy link
Contributor Author

There's also some rust issues that look like this:

/usr/bin/ld: cannot find -lc++

I think it's because clang's new install location for libc++ is in /usr/local/lib/x86_64-unknown-linux-gnu/ instead of /usr/local/lib/ @morehouse @hctim Do you know what caused this or how to fix (changing LD_LIBRARY_PATH I guess)?

Things work if I copy everything in /usr/local/lib/x86_64-unknown-linux-gnu/ to /usr/local/lib/ but I'm trying to figure out why things broke

@evverx evverx mentioned this pull request Aug 5, 2022
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py all --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

2 similar comments
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py all --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py all --sanitizer address coverage memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@jonathanmetzman
Copy link
Contributor Author

@vanhauser-thc I'm getting some afl++ related errors, do you know what the problem is?

error: unable to load plugin '/src/aflplusplus/SanitizerCoveragePCGUARD.so': 'Could not load library '/src/aflplusplus/SanitizerCoveragePCGUARD.so': /src/aflplusplus/SanitizerCoveragePCGUARD.so: cannot open shared object file: No such file or directory'

I get it on at least these projects: upb tcmalloc cel-cpp abseil-cpp

To repro:

docker pull gcr.io/oss-fuzz-base/base-builder-testing-roll-clang
docker tag gcr.io/oss-fuzz-base/base-builder-testing-roll-clang gcr.io/oss-fuzz-base/base-builder
python infra/helper.py build_fuzzers upb

They seem to all use bazel (ugh)

@vanhauser-thc
Copy link
Contributor

hmm yes there are recent changes in llvm 15 that breaks stuff. when I look at the errors these are actually errors in llvm's own header files:

In file included from instrumentation/afl-llvm-common.cc:16:
In file included from /prg/tmp/llvm-project/llvm/include/llvm/Support/raw_ostream.h:17:
/prg/tmp/llvm-project/llvm/include/llvm/ADT/StringRef.h:96:43: error: no type named 'string_view' in namespace 'std'
    /*implicit*/ constexpr StringRef(std::string_view Str)
                                     ~~~~~^
/prg/tmp/llvm-project/llvm/include/llvm/ADT/StringRef.h:239:19: error: no type named 'string_view' in namespace 'std'
    operator std::string_view() const {
             ~~~~~^
/prg/tmp/llvm-project/llvm/include/llvm/ADT/StringRef.h:617:12: error: use of undeclared identifier 'startswith'
      if (!startswith(Prefix))
           ^
/prg/tmp/llvm-project/llvm/include/llvm/ADT/StringRef.h:627:12: error: use of undeclared identifier 'startswith_insensitive'; did you mean 'endswith_insensitive'?
      if (!startswith_insensitive(Prefix))
           ^~~~~~~~~~~~~~~~~~~~~~
           endswith_insensitive

there is not much we can do when llvm is in a broken state :(

lllvm 15 so far has been a shitshow, even more so than 14. we cant even use LTO anymore because the broke lld plugin loading :-(

using an older llvm 15 commit works.

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py all --sanitizer address memory undefined --fuzzing-engine libfuzzer afl honggfuzz

1 similar comment
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py all --sanitizer address memory undefined --fuzzing-engine libfuzzer afl honggfuzz

@maflcko
Copy link
Contributor

maflcko commented Jun 15, 2023

If llvm 17 removed a feature that is in llvm 16, the version could be bumped to llvmorg-16-init-17653-g39da55e8, which should be roughly the version before branch-off.

@vanhauser-thc
Copy link
Contributor

@jonathanmetzman
It worked fine when I tested some weeks ago. And with my new pcguard implementation there should be no trouble until their next breaking change I then have to take care of :)

@maflcko
Copy link
Contributor

maflcko commented Jul 14, 2023

Looks like 2b2008a was merged, so could re-try here?

@maflcko
Copy link
Contributor

maflcko commented Sep 14, 2023

Bumping to clang-17 would also allow everyone to use the new libc++ hardening feature: https://libcxx.llvm.org/Hardening.html

@jonathanmetzman
Copy link
Contributor Author

Maybe I'll get a chance to do this before/shortly after the new year. I think I'll take a different approach this time where I'll migrate the projects that work right away and fix the broken ones bit by bit.

@alexey-milovidov
Copy link

Is there a way to start using clang-17 for a single project before it is updated globally for OSS-Fuzz?

@ADKaster
Copy link
Contributor

@jonathanmetzman is this PR still on your plate for early next year? If not, it would be nice if there was a definitive direction/guide for keeping the clang version used by specific projects up to date with LLVM release tags (re: #9989).

@jonathanmetzman
Copy link
Contributor Author

@vanhauser-thc Any idea if AFL++ works with llvmorg-18-init-14420-gea3a3b25?

@vanhauser-thc
Copy link
Contributor

@vanhauser-thc Any idea if AFL++ works with llvmorg-18-init-14420-gea3a3b25?

how can I easily download/test this?

@maflcko
Copy link
Contributor

maflcko commented Dec 21, 2023

If you don't need the exact version, you could try the clang nightly from https://apt.llvm.org/

@vanhauser-thc
Copy link
Contributor

the afl++ plugins will need quite some work so they work with llvm 18 ...
AFLplusplus/AFLplusplus#1940

@vanhauser-thc
Copy link
Contributor

here you go: #11404

@jonathanmetzman
Copy link
Contributor Author

I'll need a week or so for this. LLVM 17 has removed typed pointers entirely and only deals in opaque pointers. This has a few consequences for Fuzz Introspector so will just go over how to get past them. Introspector doesn't use typed pointers in core areas so I may end up disabling those parts, but, will take a couple of days to explore opportunities and assess trade-offs.

If you can get us clang-18 support that would be great. I think introspector is the main blocker.
We specifically want llvmorg-18-init-14420-gea3a3b25 to work.

@DavidKorczynski
Copy link
Collaborator

I'll need a week or so for this. LLVM 17 has removed typed pointers entirely and only deals in opaque pointers. This has a few consequences for Fuzz Introspector so will just go over how to get past them. Introspector doesn't use typed pointers in core areas so I may end up disabling those parts, but, will take a couple of days to explore opportunities and assess trade-offs.

If you can get us clang-18 support that would be great. I think introspector is the main blocker. We specifically want llvmorg-18-init-14420-gea3a3b25 to work.

Okay, I'll look at this today and go for supporting llvmorg-18-init-14420-gea3a3b25

@DavidKorczynski
Copy link
Collaborator

Can confirm latest introspector is now ready for llvmorg-18-init-14420-gea3a3b25 and also https://chromium.googlesource.com/chromium/src/tools/clang/+/9eb79319239629c1b23cf7a59e5ebb2bab319a34

When doing the bump, please also remove these lines:

# This is a temporary fix: fall back to LLVM14's old pass manager
if [ -n "${OLD_LLVMPASS-}" ]; then
export SANITIZER_FLAGS_introspector=$(echo $SANITIZER_FLAGS_introspector | sed -r 's/-O0/-flegacy-pass-manager/')
fi

@@ -120,7 +121,7 @@ fi
git -C $LLVM_SRC checkout $LLVM_REVISION
echo "Using LLVM revision: $LLVM_REVISION"

# For fuzz introspector.
For fuzz introspector.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless this is intentionally meant to cause an error, i would guess this should still be a comment.

@DavidKorczynski
Copy link
Collaborator

@jonathanmetzman fyi, I'd like to bump this one #11667 in an hour or two assuming the trial run is okay -- I don't think it should break anything here, but what is the ETA for this PR begin ready?

@jonathanmetzman
Copy link
Contributor Author

@jonathanmetzman fyi, I'd like to bump this one #11667 in an hour or two assuming the trial run is okay -- I don't think it should break anything here, but what is the ETA for this PR begin ready?

You can bump first. I'm going to try to land this before the end of the week or early next week.

@jonathanmetzman
Copy link
Contributor Author

jonathanmetzman commented Mar 5, 2024

Need to solve this error:

cmake -G "Ninja" \
      -DLIBCXX_ENABLE_SHARED=OFF \
      -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON \
      -DLIBCXXABI_ENABLE_SHARED=OFF \
      -DCMAKE_BUILD_TYPE=Release \
      -DLLVM_TARGETS_TO_BUILD="$TARGET_TO_BUILD" \
      -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
      -DLLVM_BINUTILS_INCDIR="/usr/include/" \
      $CMAKE_EXTRA_ARGS \
      -DLLVM_USE_SANITIZER=Memory \
      -DCMAKE_INSTALL_PREFIX=/usr/msan/ \
      -DCMAKE_CXX_FLAGS="-fsanitize-blacklist=$WORK/msan/blocklist.txt" \
      $LLVM_SRC/llvm
-- The C compiler identification is Clang 18.0.0
-- The CXX compiler identification is Clang 18.0.0
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/local/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.6") found components: Interpreter
-- Performing Test LLVM_LIBSTDCXX_MIN
-- Performing Test LLVM_LIBSTDCXX_MIN - Success
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for link.h
-- Looking for link.h - found
-- Looking for malloc/malloc.h
-- Looking for malloc/malloc.h - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for signal.h
-- Looking for signal.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/resource.h
-- Looking for sys/resource.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sysexits.h
-- Looking for sysexits.h - found
-- Looking for termios.h
-- Looking for termios.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for valgrind/valgrind.h
-- Looking for valgrind/valgrind.h - not found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for FE_ALL_EXCEPT
-- Looking for FE_ALL_EXCEPT - found
-- Looking for FE_INEXACT
-- Looking for FE_INEXACT - found
-- Performing Test HAVE_BUILTIN_THREAD_POINTER
-- Performing Test HAVE_BUILTIN_THREAD_POINTER - Success
-- Looking for mach/mach.h
-- Looking for mach/mach.h - not found
-- Looking for CrashReporterClient.h
-- Looking for CrashReporterClient.h - not found
-- Looking for linux/magic.h
-- Looking for linux/magic.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for pfm_initialize in pfm
-- Looking for pfm_initialize in pfm - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Looking for __register_frame
-- Looking for __register_frame - found
-- Looking for __deregister_frame
-- Looking for __deregister_frame - found
-- Looking for __unw_add_dynamic_fde
-- Looking for __unw_add_dynamic_fde - not found
-- Looking for _Unwind_Backtrace
-- Looking for _Unwind_Backtrace - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for setrlimit
-- Looking for setrlimit - found
-- Looking for isatty
-- Looking for isatty - found
-- Looking for futimens
-- Looking for futimens - found
-- Looking for futimes
-- Looking for futimes - found
-- Looking for sigaltstack
-- Looking for sigaltstack - found
-- Looking for mallctl
-- Looking for mallctl - not found
-- Looking for mallinfo
-- Looking for mallinfo - found
-- Looking for mallinfo2
-- Looking for mallinfo2 - not found
-- Looking for malloc_zone_statistics
-- Looking for malloc_zone_statistics - not found
-- Looking for getrlimit
-- Looking for getrlimit - found
-- Looking for posix_spawn
-- Looking for posix_spawn - found
-- Looking for pread
-- Looking for pread - found
-- Looking for sbrk
-- Looking for sbrk - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strerror_s
-- Looking for strerror_s - not found
-- Looking for setenv
-- Looking for setenv - found
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
-- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Looking for pthread_getname_np
-- Looking for pthread_getname_np - found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - found
-- Looking for dlopen
-- Looking for dlopen - found
-- Looking for dladdr
-- Looking for dladdr - found
-- Looking for proc_pid_rusage
-- Looking for proc_pid_rusage - not found
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
ninja -j $NPROC cxx-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
-- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
-- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Success
-- LLVM host triple: x86_64-unknown-linux-gnu
-- Native target architecture is X86
-- Threads enabled.
-- Doxygen disabled.
-- Ninja version: 1.10.0
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS
-- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Failed
-- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS
-- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Failed
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
-- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Success
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
-- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test C_SUPPORTS_FNO_OMIT_FRAME_POINTER
-- Performing Test C_SUPPORTS_FNO_OMIT_FRAME_POINTER - Success
-- Performing Test CXX_SUPPORTS_FNO_OMIT_FRAME_POINTER
-- Performing Test CXX_SUPPORTS_FNO_OMIT_FRAME_POINTER - Success
-- Performing Test C_SUPPORTS_GLINE_TABLES_ONLY
-- Performing Test C_SUPPORTS_GLINE_TABLES_ONLY - Success
-- Performing Test CXX_SUPPORTS_GLINE_TABLES_ONLY
-- Performing Test CXX_SUPPORTS_GLINE_TABLES_ONLY - Success
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Linker detection: GNU ld
-- Performing Test HAS_WERROR_GLOBAL_CTORS
-- Performing Test HAS_WERROR_GLOBAL_CTORS - Success
-- Performing Test LLVM_HAS_NOGLOBAL_CTOR_MUTEX
-- Performing Test LLVM_HAS_NOGLOBAL_CTOR_MUTEX - Success
-- Looking for __x86_64__
-- Looking for __x86_64__ - found
-- Found Git: /usr/bin/git (found version "2.25.1")
CMake Warning at cmake/modules/AddLLVM.cmake:505 (message):
  PLUGIN_TOOL without MODULE doesn't make sense.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:852 (llvm_add_library)
  cmake/modules/AddLLVM.cmake:827 (add_llvm_library)
  lib/Transforms/FuzzIntrospector/CMakeLists.txt:1 (add_llvm_component_library)


-- Targeting X86
-- Registering ExampleIRTransforms as a pass plugin (static build: OFF)
-- Registering Bye as a pass plugin (static build: OFF)
-- Failed to find LLVM FileCheck
-- git version: v0.0.0-dirty normalized to 0.0.0
-- Version: 1.6.0
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
-- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /work/msan
root@6d96b8cffda7:/work/msan# ninja -j $NPROC cxx
[234/842] Building IntrinsicsMips.h...
FAILED: include/llvm/IR/IntrinsicsMips.h /work/msan/include/llvm/IR/IntrinsicsMips.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=mips -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsMips.h -d include/llvm/IR/IntrinsicsMips.h.d
==27177==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x556f0c53b1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x556f0c53b1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x556f0c53b1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x556f0c53b1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x556f0c53b1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x556f0c5417d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x556f0c55448d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x556f0c55723e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x556f0c558cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x556f0c559e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x556f0c55e4b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x556f0c5646e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x556f0c5646e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x556f0c4c1478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x556f0c413e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f4402bea082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x556f0c32940d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[235/842] Building IntrinsicsARM.h...
FAILED: include/llvm/IR/IntrinsicsARM.h /work/msan/include/llvm/IR/IntrinsicsARM.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=arm -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsARM.h -d include/llvm/IR/IntrinsicsARM.h.d
==27168==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55b7ee7b41da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55b7ee7b41da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55b7ee7b41da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55b7ee7b41da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55b7ee7b41da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55b7ee7ba7d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55b7ee7cd48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55b7ee7d023e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55b7ee7d1cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55b7ee7d2e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55b7ee7d74b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55b7ee7dd6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55b7ee7dd6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55b7ee73a478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55b7ee68ce7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7fecedfa7082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55b7ee5a240d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[236/842] Building IntrinsicsSPIRV.h...
FAILED: include/llvm/IR/IntrinsicsSPIRV.h /work/msan/include/llvm/IR/IntrinsicsSPIRV.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=spv -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsSPIRV.h -d include/llvm/IR/IntrinsicsSPIRV.h.d
==27189==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x5650141c31da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x5650141c31da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x5650141c31da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x5650141c31da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x5650141c31da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x5650141c97d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x5650141dc48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x5650141df23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x5650141e0cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x5650141e1e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x5650141e64b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x5650141ec6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x5650141ec6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x565014149478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x56501409be7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7fd72649e082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x565013fb140d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[237/842] Building IntrinsicsRISCV.h...
FAILED: include/llvm/IR/IntrinsicsRISCV.h /work/msan/include/llvm/IR/IntrinsicsRISCV.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=riscv -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsRISCV.h -d include/llvm/IR/IntrinsicsRISCV.h.d
==27190==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x561b8404f1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x561b8404f1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x561b8404f1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x561b8404f1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x561b8404f1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x561b840557d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x561b8406848d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x561b8406b23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x561b8406ccd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x561b8406de44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x561b840724b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x561b840786e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x561b840786e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x561b83fd5478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x561b83f27e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f1bc1086082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x561b83e3d40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[238/842] Building IntrinsicsX86.h...
FAILED: include/llvm/IR/IntrinsicsX86.h /work/msan/include/llvm/IR/IntrinsicsX86.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=x86 -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsX86.h -d include/llvm/IR/IntrinsicsX86.h.d
==27196==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55d4682311da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55d4682311da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55d4682311da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55d4682311da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55d4682311da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55d4682377d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55d46824a48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55d46824d23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55d46824ecd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55d46824fe44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55d4682544b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55d46825a6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55d46825a6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55d4681b7478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55d468109e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f62a38bc082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55d46801f40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[239/842] Building IntrinsicsAArch64.h...
FAILED: include/llvm/IR/IntrinsicsAArch64.h /work/msan/include/llvm/IR/IntrinsicsAArch64.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=aarch64 -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsAArch64.h -d include/llvm/IR/IntrinsicsAArch64.h.d
==27164==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x56049c0701da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x56049c0701da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x56049c0701da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x56049c0701da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x56049c0701da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x56049c0767d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x56049c08948d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x56049c08c23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x56049c08dcd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x56049c08ee44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x56049c0934b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x56049c0996e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x56049c0996e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x56049bff6478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x56049bf48e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f540bc66082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x56049be5e40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[240/842] Building IntrinsicsR600.h...
FAILED: include/llvm/IR/IntrinsicsR600.h /work/msan/include/llvm/IR/IntrinsicsR600.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=r600 -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsR600.h -d include/llvm/IR/IntrinsicsR600.h.d
==27185==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x559e534cf1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x559e534cf1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x559e534cf1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x559e534cf1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x559e534cf1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x559e534d57d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x559e534e848d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x559e534eb23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x559e534eccd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x559e534ede44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x559e534f24b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x559e534f86e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x559e534f86e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x559e53455478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x559e533a7e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7fcc0ef35082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x559e532bd40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[241/842] Building Attributes.inc...
FAILED: include/llvm/IR/Attributes.inc /work/msan/include/llvm/IR/Attributes.inc
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-attrs -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Attributes.td --write-if-changed -o include/llvm/IR/Attributes.inc -d include/llvm/IR/Attributes.inc.d
==27156==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x5599771291da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x5599771291da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x5599771291da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x5599771291da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x5599771291da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55997712acc1 in llvm::TGParser::ParseSubClassReference(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:764:18
    #6 0x55997714761f in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3565:34
    #7 0x559977148756 in llvm::TGParser::ParseDef(llvm::MultiClass*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3616:7
    #8 0x5599771526e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #9 0x5599771526e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #10 0x5599770af478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #11 0x559977001e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #12 0x7fccec391082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #13 0x559976f1740d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[242/842] Building IntrinsicsS390.h...
FAILED: include/llvm/IR/IntrinsicsS390.h /work/msan/include/llvm/IR/IntrinsicsS390.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=s390 -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsS390.h -d include/llvm/IR/IntrinsicsS390.h.d
==27187==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55b3282421da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55b3282421da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55b3282421da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55b3282421da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55b3282421da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55b3282487d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55b32825b48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55b32825e23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55b32825fcd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55b328260e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55b3282654b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55b32826b6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55b32826b6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55b3281c8478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55b32811ae7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f589b62f082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55b32803040d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[243/842] Building IntrinsicsPowerPC.h...
FAILED: include/llvm/IR/IntrinsicsPowerPC.h /work/msan/include/llvm/IR/IntrinsicsPowerPC.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=ppc -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsPowerPC.h -d include/llvm/IR/IntrinsicsPowerPC.h.d
==27181==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55b571b631da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55b571b631da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55b571b631da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55b571b631da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55b571b631da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55b571b697d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55b571b7c48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55b571b7f23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55b571b80cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55b571b81e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55b571b864b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55b571b8c6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55b571b8c6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55b571ae9478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55b571a3be7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7feb8eb18082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55b57195140d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[244/842] Building IntrinsicsBPF.h...
FAILED: include/llvm/IR/IntrinsicsBPF.h /work/msan/include/llvm/IR/IntrinsicsBPF.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=bpf -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsBPF.h -d include/llvm/IR/IntrinsicsBPF.h.d
==27169==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55fbba9871da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55fbba9871da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55fbba9871da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55fbba9871da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55fbba9871da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55fbba98d7d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55fbba9a048d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55fbba9a323e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55fbba9a4cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55fbba9a5e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55fbba9aa4b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55fbba9b06e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55fbba9b06e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55fbba90d478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55fbba85fe7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f01364ae082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55fbba77540d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[245/842] Building IntrinsicsAMDGPU.h...
FAILED: include/llvm/IR/IntrinsicsAMDGPU.h /work/msan/include/llvm/IR/IntrinsicsAMDGPU.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=amdgcn -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsAMDGPU.h -d include/llvm/IR/IntrinsicsAMDGPU.h.d
==27165==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55b9afec91da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55b9afec91da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55b9afec91da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55b9afec91da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55b9afec91da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55b9afecf7d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55b9afee248d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55b9afee523e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55b9afee6cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55b9afee7e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55b9afeec4b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55b9afef26e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55b9afef26e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55b9afe4f478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55b9afda1e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7efd90f37082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55b9afcb740d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[246/842] Building IntrinsicImpl.inc...
FAILED: include/llvm/IR/IntrinsicImpl.inc /work/msan/include/llvm/IR/IntrinsicImpl.inc
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-impl -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicImpl.inc -d include/llvm/IR/IntrinsicImpl.inc.d
==27162==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x559630b3e1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x559630b3e1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x559630b3e1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x559630b3e1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x559630b3e1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x559630b447d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x559630b5748d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x559630b5a23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x559630b5bcd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x559630b5ce44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x559630b614b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x559630b676e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x559630b676e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x559630ac4478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x559630a16e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f056ad9f082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55963092c40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[247/842] Building IntrinsicsXCore.h...
FAILED: include/llvm/IR/IntrinsicsXCore.h /work/msan/include/llvm/IR/IntrinsicsXCore.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=xcore -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsXCore.h -d include/llvm/IR/IntrinsicsXCore.h.d
==27197==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55890b82f1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55890b82f1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55890b82f1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55890b82f1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55890b82f1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55890b8357d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55890b84848d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55890b84b23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55890b84ccd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55890b84de44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55890b8524b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55890b8586e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55890b8586e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55890b7b5478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55890b707e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f8c7d8ef082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55890b61d40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[248/842] Building IntrinsicsVE.h...
FAILED: include/llvm/IR/IntrinsicsVE.h /work/msan/include/llvm/IR/IntrinsicsVE.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=ve -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsVE.h -d include/llvm/IR/IntrinsicsVE.h.d
==27192==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55f774cc71da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55f774cc71da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55f774cc71da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55f774cc71da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55f774cc71da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55f774ccd7d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55f774ce048d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55f774ce323e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55f774ce4cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55f774ce5e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55f774cea4b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55f774cf06e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55f774cf06e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55f774c4d478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55f774b9fe7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f3a926a0082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55f774ab540d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[249/842] Building IntrinsicsNVPTX.h...
FAILED: include/llvm/IR/IntrinsicsNVPTX.h /work/msan/include/llvm/IR/IntrinsicsNVPTX.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=nvvm -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsNVPTX.h -d include/llvm/IR/IntrinsicsNVPTX.h.d
==27180==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55fdf0ab11da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55fdf0ab11da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55fdf0ab11da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55fdf0ab11da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55fdf0ab11da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55fdf0ab77d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55fdf0aca48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55fdf0acd23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55fdf0acecd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55fdf0acfe44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55fdf0ad44b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55fdf0ada6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55fdf0ada6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55fdf0a37478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55fdf0989e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7fa09fbd3082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55fdf089f40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[250/842] Building IntrinsicsHexagon.h...
FAILED: include/llvm/IR/IntrinsicsHexagon.h /work/msan/include/llvm/IR/IntrinsicsHexagon.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=hexagon -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsHexagon.h -d include/llvm/IR/IntrinsicsHexagon.h.d
==27176==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55df1f8d31da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55df1f8d31da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55df1f8d31da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55df1f8d31da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55df1f8d31da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55df1f8d97d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55df1f8ec48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55df1f8ef23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55df1f8f0cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55df1f8f1e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55df1f8f64b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55df1f8fc6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55df1f8fc6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55df1f859478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55df1f7abe7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f107c677082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55df1f6c140d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[251/842] Building IntrinsicEnums.inc...
FAILED: include/llvm/IR/IntrinsicEnums.inc /work/msan/include/llvm/IR/IntrinsicEnums.inc
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicEnums.inc -d include/llvm/IR/IntrinsicEnums.inc.d
==27160==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55cd5a1941da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55cd5a1941da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55cd5a1941da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55cd5a1941da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55cd5a1941da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55cd5a19a7d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55cd5a1ad48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55cd5a1b023e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55cd5a1b1cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55cd5a1b2e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55cd5a1b74b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55cd5a1bd6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55cd5a1bd6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55cd5a11a478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55cd5a06ce7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7fa9b7614082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55cd59f8240d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[252/842] Building IntrinsicsWebAssembly.h...
FAILED: include/llvm/IR/IntrinsicsWebAssembly.h /work/msan/include/llvm/IR/IntrinsicsWebAssembly.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=wasm -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsWebAssembly.h -d include/llvm/IR/IntrinsicsWebAssembly.h.d
==27194==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x558df70cf1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x558df70cf1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x558df70cf1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x558df70cf1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x558df70cf1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x558df70d57d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x558df70e848d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x558df70eb23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x558df70eccd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x558df70ede44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x558df70f24b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x558df70f86e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x558df70f86e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x558df7055478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x558df6fa7e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f043d306082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x558df6ebd40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[253/842] Building RISCVTargetParserDef.inc...
FAILED: include/llvm/TargetParser/RISCVTargetParserDef.inc /work/msan/include/llvm/TargetParser/RISCVTargetParserDef.inc
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-riscv-target-def -I /src/llvm-project/llvm/lib/Target/RISCV/ -I /src/llvm-project/llvm/include/llvm/TargetParser -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/lib/Target/RISCV/RISCV.td --write-if-changed -o include/llvm/TargetParser/RISCVTargetParserDef.inc -d include/llvm/TargetParser/RISCVTargetParserDef.inc.d
==27198==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55cd36296e8e in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::_M_get_insert_unique_pos(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2097:7
    #1 0x55cd36295546 in _M_insert_unique<const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2153:4
    #2 0x55cd36295546 in insert /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_set.h:512:9
    #3 0x55cd36295546 in llvm::TGLexer::LexInclude() /src/llvm-project/llvm/lib/TableGen/TGLexer.cpp:413:16
    #4 0x55cd362909dd in llvm::TGLexer::LexIdentifier() /src/llvm-project/llvm/lib/TableGen/TGLexer.cpp:379:11
    #5 0x55cd36290a34 in Lex /src/llvm-project/llvm/lib/TableGen/TGLexer.h:215:22
    #6 0x55cd36290a34 in llvm::TGLexer::LexIdentifier() /src/llvm-project/llvm/lib/TableGen/TGLexer.cpp:380:14
    #7 0x55cd362d050e in Lex /src/llvm-project/llvm/lib/TableGen/TGLexer.h:215:22
    #8 0x55cd362d050e in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4313:7
    #9 0x55cd3622d478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #10 0x55cd3617fe7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #11 0x7f95e8493082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #12 0x55cd3609540d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:2097:7 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::_Identity<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::_M_get_insert_unique_pos(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Exiting
[254/842] Building IntrinsicsDirectX.h...
FAILED: include/llvm/IR/IntrinsicsDirectX.h /work/msan/include/llvm/IR/IntrinsicsDirectX.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=dx -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsDirectX.h -d include/llvm/IR/IntrinsicsDirectX.h.d
==27171==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55affb6641da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x55affb6641da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x55affb6641da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x55affb6641da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x55affb6641da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x55affb66a7d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x55affb67d48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x55affb68023e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x55affb681cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x55affb682e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x55affb6874b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x55affb68d6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x55affb68d6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x55affb5ea478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x55affb53ce7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7fa36afbe082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x55affb45240d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[255/842] Building GenVT.inc...
FAILED: include/llvm/CodeGen/GenVT.inc /work/msan/include/llvm/CodeGen/GenVT.inc
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-vt -I /src/llvm-project/llvm/include/llvm/CodeGen -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/CodeGen/ValueTypes.td --write-if-changed -o include/llvm/CodeGen/GenVT.inc -d include/llvm/CodeGen/GenVT.inc.d
==27157==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x559a980031da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x559a980031da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x559a980031da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x559a980031da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x559a980031da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x559a980097d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x559a9801c48d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x559a9801f23e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x559a98020cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x559a98021e44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x559a980264b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x559a9802c6e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x559a9802c6e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x559a97f89478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x559a97edbe7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f7f166f2082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x559a97df140d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting
[256/842] Building IntrinsicsLoongArch.h...
FAILED: include/llvm/IR/IntrinsicsLoongArch.h /work/msan/include/llvm/IR/IntrinsicsLoongArch.h
cd /work/msan && /work/msan/bin/llvm-min-tblgen -gen-intrinsic-enums -intrinsic-prefix=loongarch -I /src/llvm-project/llvm/include/llvm/IR -I/work/msan/include -I/src/llvm-project/llvm/include /src/llvm-project/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o include/llvm/IR/IntrinsicsLoongArch.h -d include/llvm/IR/IntrinsicsLoongArch.h.d
==27174==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x557b47adc1da in _M_lower_bound_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4
    #1 0x557b47adc1da in _M_find_tr<llvm::StringRef, void> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1322:15
    #2 0x557b47adc1da in find<llvm::StringRef> /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_map.h:1200:16
    #3 0x557b47adc1da in getClass /src/llvm-project/llvm/include/llvm/TableGen/Record.h:1988:22
    #4 0x557b47adc1da in llvm::TGParser::ParseClassID() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:714:28
    #5 0x557b47ae27d9 in llvm::TGParser::ParseType() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:1107:21
    #6 0x557b47af548d in llvm::TGParser::ParseDeclaration(llvm::Record*, bool) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3242:17
    #7 0x557b47af823e in llvm::TGParser::ParseBodyItem(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3442:10
    #8 0x557b47af9cd3 in llvm::TGParser::ParseBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3502:9
    #9 0x557b47afae44 in llvm::TGParser::ParseObjectBody(llvm::Record*) /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3583:17
    #10 0x557b47aff4b3 in llvm::TGParser::ParseClass() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:3943:7
    #11 0x557b47b056e3 in ParseObjectList /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4306:9
    #12 0x557b47b056e3 in llvm::TGParser::ParseFile() /src/llvm-project/llvm/lib/TableGen/TGParser.cpp:4315:7
    #13 0x557b47a62478 in llvm::TableGenMain(char const*, std::function<bool (llvm::raw_ostream&, llvm::RecordKeeper&)>) /src/llvm-project/llvm/lib/TableGen/Main.cpp:125:14
    #14 0x557b479b4e7a in main /src/llvm-project/llvm/utils/TableGen/TableGen.cpp:84:10
    #15 0x7f56c30f6082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082) (BuildId: eebe5d5f4b608b8a53ec446b63981bba373ca0ca)
    #16 0x557b478ca40d in _start (/work/msan/bin/llvm-min-tblgen+0x4040d)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:1353:4 in _M_lower_bound_tr<llvm::StringRef, void>
Exiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update clang
9 participants