Undefined symbol in Visual Studio 2022 clang-cl
Summary A build failed with lld-link reporting undefined symbols when compiling an Intel Pin tool with clang-cl in Visual Studio 2022. The linker could not resolve essential Pin API functions like IMG_Name and IMG_LowAddress, despite linking against pin.lib. The root cause was a mismatch between the C++ runtime library used to build the tool and … Read more