[PATCH] D48806: [asan] Fix deadlock issue on FreeBSD, caused by use of .preinit_array in rL325240

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 30 15:43:36 PDT 2018


MaskRay added a comment.

In https://reviews.llvm.org/D48806#1148927, @devnexen wrote:

> Is Xray instrumentation working now ?




  % fclang++ -fxray-instrument -fxray-instruction-threshold=1 a.cc -o a
  % XRAY_OPTIONS=patch_premain=true:verbosity=1:xray_mode=xray-basic ./a                                         
  ==29379==Missing rdtscp support.                                                                               
  ==29379==Missing rdtscp support.                                                                               
  ==29379==WARNING: Required CPU features missing for XRay instrumentation, using                                
  emulation instead.                                                                                             
  ==29379==XRay: Log file in 'xray-log.a.q1WUln'                                                                 
  meow                                                                                                           
  meow                                                                                                           
  ==29379==Cleaned up log for TID: 100557  
  % ls -l xray-log.a.q1WUln                                                                                      
  -rw-------  1 ray  wheel  224 Jun 30 15:41 xray-log.a.q1WUln


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D48806





More information about the llvm-commits mailing list