diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-04-01 06:11:09 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-04-01 06:11:09 +0000 |
| commit | 1e7d0721aea6fe3f251cf0e3b527137a0bc025f9 (patch) | |
| tree | d120a80f563f6064b32657e8fdd73dc580fc2f92 /llvm/lib/CodeGen | |
| parent | 2e1e0491b7098fcfe01945e8f62cafe1fcb3cf36 (diff) | |
| download | bcm5719-llvm-1e7d0721aea6fe3f251cf0e3b527137a0bc025f9.tar.gz bcm5719-llvm-1e7d0721aea6fe3f251cf0e3b527137a0bc025f9.zip | |
[PECOFF] Treat .imp as an import library file.
Some Clang build uses .imp not .lib file extension for an import library file,
so we need to treat such file as a library file.
Ideally we should not rely on file extensions to detect file type. Instead
we should use magic bytes at beginning of a file. The GNU-compatible driver
actually does that but it made writing unit tests hard, so I chose an ad-hoc
approach for now.
llvm-svn: 205283
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

