Fixes compiler-rt/test/orc/TestCases/Linux/x86-64/priority-static-initializer.S testcase after244ea40625. This testcase had been succeeding because the definition order of the .init_array sections in the testcase matched their priorities, but began failing once244ea40625removed that guarantee. The proper fix is to visit the .init_array sections according to their priority order, regardless of how they're defined in the file. This fixes the single-file testcase, but I think that ELFNixPlatform will need to be extended to make priorities work correctly across file boundaries.
38 KiB
38 KiB