[llvm-commits] [llvm] r56255 - /llvm/trunk/tools/opt/opt.cpp
Chris Lattner
clattner at apple.com
Sun Sep 21 16:49:50 PDT 2008
On Sep 17, 2008, at 9:05 AM, Devang Patel wrote:
>>
>> (2) stick this in a library somewhere and have llvm-gcc use it too.
>
> I tried. Remember PassManagerUtils.cpp's short lived existence ? :)
> This causes circular dependencies, unless you create a separate new
> library for just one routine. Feel free to fix this, if you're
> inclined to do so. Extra bonus points if you also cover pass sequence
> selection from llvm-ld and lto :)
>
Just stick the code for this into a header instead of a .cpp file.
-Chris
More information about the llvm-commits
mailing list