summaryrefslogtreecommitdiff
path: root/MinGW/Driver.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-06-27 19:15:02 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-06-27 19:15:02 +0000
commit384e0a667a03156faed5fb21210af8a9288a9122 (patch)
treed6ca6b097f252b802977b508309796c533b94cc5 /MinGW/Driver.cpp
parentf0d24653c11c321b090f5fce1fef226689eb7930 (diff)
downloadsrc-test2-vendor/lld-60.tar.gz
src-test2-vendor/lld-60.zip
Notes
Diffstat (limited to 'MinGW/Driver.cpp')
-rw-r--r--MinGW/Driver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/MinGW/Driver.cpp b/MinGW/Driver.cpp
index 6d3bea5d9040..0b7e0831a512 100644
--- a/MinGW/Driver.cpp
+++ b/MinGW/Driver.cpp
@@ -154,6 +154,8 @@ bool mingw::link(ArrayRef<const char *> ArgsArr, raw_ostream &Diag) {
Add("-debug:dwarf");
if (Args.hasArg(OPT_large_address_aware))
Add("-largeaddressaware");
+ if (Args.hasArg(OPT_kill_at))
+ Add("-kill-at");
if (Args.getLastArgValue(OPT_m) != "thumb2pe" &&
Args.getLastArgValue(OPT_m) != "arm64pe" && !Args.hasArg(OPT_dynamicbase))