Changeset 97550d2


Ignore:
Timestamp:
05/28/15 12:57:39 (9 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master
Children:
625d5f9
Parents:
14e2ab9
git-author:
Hal Finkel <hfinkel@…> (05/28/15 12:57:39)
git-committer:
Hal Finkel <hfinkel@…> (05/28/15 12:57:39)
Message:

some extra portability, perhaps, by using builtin_extract_return_addr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • memlog.c

    r14e2ab9 r97550d2  
    6868 
    6969  int found_caller = 0; 
     70  caller =  __builtin_extract_return_addr(caller); 
    7071  for (int pci = 0; pci < num_pcs; ++pci) { 
    7172    intptr_t pc = (intptr_t) pcs[pci]; 
Note: See TracChangeset for help on using the changeset viewer.