Hello World clang C++ Builder10.3.2 Rio-no call stack traces

delphi package - automated exception handling

Hello World clang C++ Builder10.3.2 Rio-no call stack traces

Postby theproper » Sat Nov 02, 2019 7:42 pm

I created a new project in C++ Builder Rio 10.3.2 (second Rio release):
screenshot code.PNG
screenshot code.PNG (85.91 KiB) Viewed 192 times


When I use the classic compiler I get the stack traces as usual:
screenshot bug report classic.PNG
screenshot bug report classic.PNG (141.01 KiB) Viewed 192 times


When I use the clang compiler I don't get the line numbers and unit name:
screenshot bug report clang.PNG
screenshot bug report clang.PNG (149.05 KiB) Viewed 192 times


Line numbers and unit names also work for the Delphi compiler, so only clang is the problem.

Changing link with dynamic RTL and link with runtime packages doesn't help.

How can this be fixed, could it be that the problem is the second Rio release?

I apologize if this has been posted already but I couldn't find it.
theproper
 
Posts: 1
Joined: Sat Nov 02, 2019 7:21 pm

Re: Hello World clang C++ Builder10.3.2 Rio-no call stack tr

Postby madshi » Wed Nov 13, 2019 9:37 pm

I think that probably the compiler & linker settings are not adjusted automatically by madExcept. Could you please make sure that you have the debug options (like line numbers, function names, whatever) enabled for the compiler, but disabled for the linker. However, the linker needs to create either a detailed map file or a TDS file.
madshi
Site Admin
 
Posts: 10098
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 10 guests

cron