HomePhabricator

[ORC][NFC] Refactor loop to determine name of init symbol in…

Authored by sgraenitz on Aug 13 2020, 12:11 PM.

Description

[ORC][NFC] Refactor loop to determine name of init symbol in IRMaterializationUnit

This loop caused me a little headache once, because I didn't see the assigned variable is a member. The refactored version appears more readable to me.

Differential Revision: https://reviews.llvm.org/D85922