You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure this endProfiling function would be called. This has something to do with the exception handling in c++. I think endProfiling should be added before that terminate call.
I've been getting a similar issue, though not entirely identical (the symptom is the same as the title of this issue, so I'll leave it here). In my case, main() is not having an endProfiling call placed before the return (following snippet is from main() in IR):
I have found that it might be because that LLFI cannot deal with exception handling in C++ well. The program I am using is complex, but I guess you can find a c++ file with exception blocks (try/catch) and see how it goes.
Activity
chipbuster commentedon Jun 4, 2015
I've been getting a similar issue, though not entirely identical (the symptom is the same as the title of this issue, so I'll leave it here). In my case,
main()is not having an endProfiling call placed before the return (following snippet is from main() in IR):Curiously, when the code is compiled under -O3 or -O2, the correct endProfiling() call is inserted.
The code is the single-threaded LULESH benchmark.
karfair commentedon Jun 26, 2015
@flyree Could you point me to the file you were using so that I can reproduce this bug? Thanks.
flyree commentedon Jun 26, 2015
Hi Phil,
I have found that it might be because that LLFI cannot deal with exception handling in C++ well. The program I am using is complex, but I guess you can find a c++ file with exception blocks (try/catch) and see how it goes.
Bo