commit | 860652c3f8ca993d51ee7304abb0a5a3c5368f79 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sat Jan 20 00:28:02 2018 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Sat Jan 20 00:28:02 2018 +0000 |
tree | f9d62628a04f4a755dd9fb1ab47a4bc6a1534cc3 | |
parent | 8bb1297fe0106ef72e338c0cad50ca1580353f8d [diff] |
CodeGen: handle llvm.used properly for COFF `llvm.used` contains a list of pointers to named values which the compiler, assembler, and linker are required to treat as if there is a reference that they cannot see. Ensure that the symbols are preserved by adding an explicit `-include` reference to the linker command. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323017 91177308-0d34-0410-b5e6-96231b3b80d8