[CMake] Allow passing extra options to extract_symbols.py.
When cross-compiling LLVM in an environment where there //is// an objdump binary available but it does not understand the target platform's object file format, extract_symbols.py fails, because its initial check for tool availability decides that the existence of objdump at all is good enough to settle on it as the tool of choice. In such an environment it's useful to work around this by telling extract_symbols.py to use llvm-readobj instead. The script itself has an option for that, but its invocation in AddLLVM.cmake wasn't providing a mechanism to add extra options passed through for the cmake command line. Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D113557
parent
95102b7d
Please register or sign in to comment