<div dir="ltr">Hello LLVMer,<div><br></div><div style>I use dragonegg to generate LLVM bitcode. Then I use LLVM interpreter to </div><div style>execute what I get from compilation. However an error occurred and the error </div>
<div style>message is:</div><div style>"LLVM ERROR: Code generator does not support intrinsic function 'llvm.objectsize.i64'!."</div><div style>As far as I know, objectsize intrinsic is equivalent to gcc built-in function </div>
<div style>__builtin_object_size. But I don't call __builtin_object_size explicitly in my </div><div style>source code. Maybe headers what I include call the built-in somewhere. How do </div><div style>I eliminate such built-in function call in LLVM bitcode, or what code should I </div>
<div style>add into IntrinsicLowering.cpp to handle this problem.</div><div style><br></div><div style>Any suggestion or comment is welcomed.</div><div style><br></div><div style>Thanks<br></div><div style> </div></div>