https://bugs.llvm.org/show_bug.cgi?id=45796
Bug ID: 45796
Summary: Option /MANIFESTDEPENDENCY works only with single
entry
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedb...@nondot.org
Reporter: pogorelsky.w...@gmail.com
CC: llvm-bugs@lists.llvm.org
In microsoft docs we can see that /MANIFESTDEPENDENCY option can have several
entries
(https://docs.microsoft.com/en-us/cpp/build/reference/manifestdependency-specify-manifest-dependencies?view=vs-2019):
"The linker will collect /MANIFESTDEPENDENCY comments, eliminate duplicate
entries, and then add the resulting XML string to the manifest file. If the
linker finds conflicting entries, the manifest file will become corrupt and the
application will fail to launch (an entry may be added to the event log,
indicating the source of the failure)."
I tried to set two /MANIFESTDEPENDENCY simultaneously, but it seems like
lld-linker handles only single entry of this option
("args.getLastArg(OPT_manifestdependency)",
https://github.com/llvm/llvm-project/blob/master/lld/COFF/Driver.cpp, str.
1521-1526). Seems like bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs