https://llvm.org/bugs/show_bug.cgi?id=31057

            Bug ID: 31057
           Summary: ld.lld --version reports "no input files" error
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

At git 727b6a44b46c7af65f8e1e5ac4dfb71c6f8c04d6 + a local change adding a test

ld.lld --version should emit the version and return status 0 

% ld.lld --version
LLD 4.0.0 ([email protected]:emaste/lld.git
410608dbeb776a13d2b00d1019dbf37e5ab8cf3e)
ld.lld: error: no input files
ld.lld: error: target emulation unknown: -m or at least one .o file required
% echo $?
1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to