commit | 5ce93fc96ab5e2defd85890da63b51cc4c57a2af | [log] [tgz] |
---|---|---|
author | Alexander Potapenko <glider@google.com> | Thu May 23 11:53:36 2013 +0000 |
committer | Alexander Potapenko <glider@google.com> | Thu May 23 11:53:36 2013 +0000 |
tree | fd4d69f9d1615569f24bdfcf70bafc0a1775aaee | |
parent | 5b2afc3e655f32c8b9d4b7c8b0ad31681f16cf06 [diff] |
[ASan] Introduce SymbolizerPrepareForSandboxing(), which is a no-op on every platform except Linux (because we don't support sandboxing anywhere else yet) On Linux we pre-cache the value of readlink("/proc/self/exe"), so that it can be later used when the sandbox has been turned on. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182579 91177308-0d34-0410-b5e6-96231b3b80d8