[PATCH] D68017: [LLD] [COFF] Always demangle the __imp_ prefix to __declspec(dllimport)

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 00:47:25 PDT 2019


mstorsjo added a comment.

@ruiu - does this look like what you want? For i386, do you want to keep the leading underscore, e.g. making `__imp__foo` into `__declspec(dllimport) _foo`, or have the demangling remove the underscore from `_foo` as well? This version removes that underscore, but it also changes the output for plain prefixless `_foo` symbols into `foo`.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68017/new/

https://reviews.llvm.org/D68017





More information about the llvm-commits mailing list