aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFImportFile.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-07-18 22:11:00 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-07-18 22:11:00 +0000
commite234901a8469fd62d7b9e490832fb8a36d5590df (patch)
tree9bc5ddede167cd5689fed6cab59f493aaf20b36c /llvm/lib/Object/COFFImportFile.cpp
parentafbb7be6d564a326a2f7ade0cbca103cb821f9c0 (diff)
downloadllvm-e234901a8469fd62d7b9e490832fb8a36d5590df.zip
llvm-e234901a8469fd62d7b9e490832fb8a36d5590df.tar.gz
llvm-e234901a8469fd62d7b9e490832fb8a36d5590df.tar.bz2
Object: handle extensions properly in def files
When given an extension as part of the `library` directive in a def file, the extension is preserved/honoured by link/lib. Behave similarly when parsing the def file. This requires checking if a native extension is provided as a keyword parameter. If no extension is present, append a standard `.dll` or `.exe` extension. This is best tested via lld, and I will add tests there as a follow up. llvm-svn: 308383
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions