[swift-users] libswiftCore.dylib was compiled with optimization - stepping may behave oddly;

Dmitri Gribenko gribozavr at gmail.com
Sun Aug 28 06:14:01 CDT 2016


On Sun, Aug 28, 2016 at 12:51 AM, David Liu <david.yang.liu at gmail.com> wrote:
> Hi Dimitri
>
> Update, hardcoding the following in the build-script-impl and building
> tool-chain
> -DSWIFT_STDLIB_BUILD_TYPE="Debug"
> -DSWIFT_STDLIB_ASSERTIONS=true
> is working for me.

These two options is what --debug-swift-stdlib expands to.

> But any attempt to build lldb with -l or -lldb fails with the above error. I
> think this unblocks me for now.

+ Sean for LLDB build issues.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-users mailing list