[PATCH] D28849: [compiler-rt] [test] Fix page address logic in clear_cache_test to use binary negation
    Saleem Abdulrasool via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Jan 18 19:17:22 PST 2017
    
    
  
compnerd added a comment.
I wonder if we should take this a bit further.  Use something like a `PAGE_SIZE` constant to avoid this confusion entirely.  Furthremore, different targets could use different page sizes.  IIRC, SPARC has a 8K page size by default.
Repository:
  rL LLVM
https://reviews.llvm.org/D28849
    
    
More information about the cfe-commits
mailing list