By replacing a lambda expression with a functor class instance, this
patch works around an issue encountered on AIX where the IBM XL compiler
appears to make no progress for many hours.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp | ||
---|---|---|
449 | Please keep this FIXME. |
llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp | ||
---|---|---|
449 | Good catch. Will do. |
llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp | ||
---|---|---|
450–461 | Is there a bug filed against the AIX compiler that we could cite here? In any case, please add a comment explaining that this was broken out due to an AIX compiler bug, and should be turned back into a lambda once the bug is fixed. Otherwise LGTM. |
llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp | ||
---|---|---|
449 | Somehow I missed this. ;) If there's a bug number for that it would be good to include it, otherwise everything's good to go. :) |
Please keep this FIXME.