mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-02 05:17:15 +00:00
New experimental/undocumented feature: 'works_on_empty'.
For now, just enough support to make -filelist work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -313,7 +313,7 @@ int CompilationGraph::Build (const sys::Path& TempDir,
|
||||
JoinTool* JT = &dynamic_cast<JoinTool&>(*CurNode->ToolPtr.getPtr());
|
||||
|
||||
// Are there any files in the join list?
|
||||
if (JT->JoinListEmpty())
|
||||
if (JT->JoinListEmpty() && !(JT->WorksOnEmpty() && InputFilenames.empty()))
|
||||
continue;
|
||||
|
||||
Action CurAction = JT->GenerateAction(CurNode->HasChildren(),
|
||||
|
Reference in New Issue
Block a user