mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
[LLD] Fix preprocessor condition when getting lld version (#98137)
This commit is contained in:
@@ -23,7 +23,7 @@ std::string lld::getLLDVersion() {
|
||||
#else
|
||||
#define LLD_VENDOR_DISPLAY
|
||||
#endif
|
||||
#if defined(LLVM_REPOSITORY) || defined(LLVM_REVISION)
|
||||
#if defined(LLVM_REPOSITORY) && defined(LLVM_REVISION)
|
||||
return LLD_VENDOR_DISPLAY "LLD " LLD_VERSION_STRING " (" LLVM_REPOSITORY
|
||||
" " LLVM_REVISION ")";
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user