<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body dir="ltr">
<style type="text/css" style="display:none"><!-- p {margin-top:0;margin-bottom:0;} --></style>
<div class="" role="textbox" useinlinestyle="true" dir="ltr" style="outline: none; font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; background-color: rgb(255, 255, 255);">
<p>Hi llvmdev,</p>
<p><br>
</p>
<p>I have a need to override some of the default libcall names on when generating code through an ExecutionEngine. It looks like the canonical way to customize libcall names is to set up an appropriate TargetLibraryInfo and add a TargetLibraryInfoWrapperPass
 to the pass manager used for compilation. AFAICT there is no way to do this when compiling via an ExecutionEngine (either through an EngineBuilder or an ExecutionEngine itself).</p>
<p><br>
</p>
<p>Am I missing something, or is this not currently supported? If it's not supported (and if I've correctly understood how TLI is conveyed to the backend), I'm happy to put together a patch.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>- Pat</p>
</div>
</body>
</html>