clang sanitizer fatal error: 'unordered_map' file not found

Viewed 25

I'm updating an existing clang sanitizers from llvm-10.0.0 to llvm-14.0.5, the cpp files under project/compiler-rt/lib reports the standard c++ lib are not found, such as , <unordred_map> etc.

fatal error: 'unordered_map' file not found
#include <unordered_map>
         ^~~~~~~~~~~~~~~

This is not happen in llvm-10.0.0, anyone has hints to fix it?

Other errors include:

error: use of undeclared identifier 'std'
0 Answers
Related