[mlir] Use LLJIT::getMainJITDylib instead of hardcoding '<main>'
authorRiver Riddle <riddleriver@gmail.com>
Thu, 20 Feb 2020 22:16:20 +0000 (14:16 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Thu, 20 Feb 2020 22:19:34 +0000 (14:19 -0800)
commit6d60d8695d2066c9ef9360603c88ce938ca65491
tree0b8965b898cd4e9567808694a2467bd4bd9dd9da
parentee260c1a0f1c0a8fd1179cdab9fb4312086dcc54
[mlir] Use LLJIT::getMainJITDylib instead of hardcoding '<main>'

This fixes test failures caused by a change to the name of the main
dylib, now called 'main'. It also hardens the engine against potential
future changes to the name.
mlir/lib/ExecutionEngine/ExecutionEngine.cpp