[PATCH] D47904: Support option -plugin-opt=dwo_dir=

Yunlian Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 10:07:51 PDT 2018


yunlian marked 3 inline comments as done.
yunlian added inline comments.


================
Comment at: test/ELF/lto/thinlto-debug-fission.ll:7
+; Test to ensure that --plugin-opt=dwo_dir=$DIR creates .dwo files under $DIR
+; RUN: ld.lld --plugin-opt=dwo_dir=%T/dwo -shared %t1.o -o %t2
+; RUN: llvm-readobj -h %T/dwo/0.dwo | FileCheck %s
----------------
ruiu wrote:
> ruiu wrote:
> > If the specified directory doesn't exist, does --plug-opt=dwo_dir creates a new directory?
> `-o /dev/null` is preferred if you don't need an output file.
Yes, it will create a new directory if the specified directory does not exist.


https://reviews.llvm.org/D47904





More information about the llvm-commits mailing list