Order of libraries and source files in the f18 frontend
authorCamille Coti <coti@cs.uoregon.edu>
Mon, 27 Jul 2020 22:58:39 +0000 (16:58 -0600)
committerAlexisPerry <aperry@lanl.gov>
Tue, 28 Jul 2020 15:03:04 +0000 (09:03 -0600)
commitca0bf440dbf9977340db4a32ba61740930c2be03
tree5f1842a06c3f76b44b36a812cd7564d49247f030
parent6784d82d5b859cc14a63358d34ed50e6e2f9bf43
Order of libraries and source files in the f18 frontend

When the f18 frontend calls the link editor, put the libraries and object files in the correct order.

Fixes the issues reported here https://github.com/flang-compiler/flang/issues/897

Reviewed By: sscalpone, AlexisPerry

Differential Revision: https://reviews.llvm.org/D84340
flang/tools/f18/f18.cpp