dexonsmith added a subscriber: dexonsmith.
dexonsmith added a comment.

The code LGTM, but there ought to be a way to add a LIT test for this.

Looking for -object_path_lto, I found this:
-------------------------------------------

// RUN: %clang -target x86_64-apple-darwin10 -### %s \
// RUN:   -mlinker-version=117 -flto 2> %t.log
// RUN: cat %t.log
// RUN: FileCheck -check-prefix=LINK_OBJECT_LTO_PATH %s < %t.log
//
// LINK_OBJECT_LTO_PATH: {{ld(.exe)?"}}

// LINK_OBJECT_LTO_PATH: "-object_path_lto"
-------------------------------------------

in test/Driver/darwin-ld.c.  Can you add a similar test there?


Repository:
  rL LLVM

http://reviews.llvm.org/D13117



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to