Skip to content
  1. Mar 11, 2013
  2. Mar 06, 2013
  3. Mar 05, 2013
  4. Mar 01, 2013
  5. Feb 28, 2013
  6. Feb 27, 2013
  7. Feb 26, 2013
  8. Feb 25, 2013
  9. Feb 22, 2013
  10. Feb 20, 2013
  11. Feb 19, 2013
  12. Feb 18, 2013
  13. Feb 15, 2013
    • Kostya Serebryany's avatar
      [asan] make asan work with 7fff8000 offset and prelink · fd61b6f0
      Kostya Serebryany authored
      When prelink is installed in the system, prelink-ed
      libraries map between 0x003000000000 and 0x004000000000 thus occupying the shadow Gap,
      so we need so split the address space even further, like this:
      || [0x10007fff8000, 0x7fffffffffff] || HighMem    ||
      || [0x02008fff7000, 0x10007fff7fff] || HighShadow ||
      || [0x004000000000, 0x02008fff6fff] || ShadowGap3 ||
      || [0x003000000000, 0x003fffffffff] || MidMem     ||
      || [0x00087fff8000, 0x002fffffffff] || ShadowGap2 ||
      || [0x00067fff8000, 0x00087fff7fff] || MidShadow  ||
      || [0x00008fff7000, 0x00067fff7fff] || ShadowGap  ||
      || [0x00007fff8000, 0x00008fff6fff] || LowShadow  ||
      || [0x000000000000, 0x00007fff7fff] || LowMem     ||
      
      Do it only if necessary.
      
      Also added a bit of profiling code to make sure that the
      mapping code is efficient.
      
      Added a lit test to simulate prelink-ed libraries.
      Unfortunately, this test does not work with binutils-gold linker.
      If gold is the default linker the test silently passes.
      
      Also replaced
      __has_feature(address_sanitizer)
      with
      __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
      in two places.
      
      Patch partially by Jakub Jelinek.
      
      llvm-svn: 175263
      fd61b6f0
  14. Feb 14, 2013
  15. Feb 12, 2013
Loading