This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, TSAN] Fix missing __tsan_func_exit instrumentation


Hi,

this patch fixes two cases, where the __tsan_func_entry is present but __tsan_func_exit is missing.
This results in bogus call stacks and memory leaks.

See PR 65400 for stripped down code samples where this was first discovered.


Boot-strapped and regression-tested on x86_64-linux-gnu.
OK for trunk?


Thanks
Bernd.
 		 	   		  

Attachment: changelog-tsan.txt
Description: Text document

Attachment: patch-tsan.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]