History log of /external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
259f7063e3e4c4b94dded1e90ab0a943d0fa737b 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r235153

Change-Id: I7c900e78d263fe0f574369e8383ccac7e36f5c3b
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
7c9150579ed0278492f51cc8434b1d63a44b9bd1 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master compiler-rt for rebase to r233350

Change-Id: I5f20256ce73ec7b5956f742b4062f850bf11b667
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
86277eb844c4983c81de62d7c050e92fe7155788 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r230699.

Change-Id: I6c415fd5f6420e3012d9da76719111721e906dfa
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
6d1862363c88c183b0ed7740fca876342cf0474b 27-Nov-2014 Stephen Hines <srhines@google.com> Update aosp/master compiler-rt for rebase to r222486.

Change-Id: I38047809dbac0425193c82e810315998adbb380d
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
2d1fdb26e458c4ddc04155c1d421bced3ba90cd0 29-May-2014 Stephen Hines <srhines@google.com> Update compiler-rt aosp/master for 3.5 (r209699) rebase.

Change-Id: I158a30186f0faea2e2400e9dfdd878db2eb40e90
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
66d91e3356a0c4d7aff3beaaaff3e87bbaec805c 31-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan.

Summary:
TSan and MSan need to know if interceptor was called by the
user code or by the symbolizer and use pre- and post-symbolization hooks
for that. Make Symbolizer class responsible for calling these hooks instead.
This would ensure the hooks are only called when necessary (during
in-process symbolization, they are not needed for out-of-process) and
save specific sanitizers from tracing all places in the code where symbolization
will be performed.

Reviewers: eugenis, dvyukov

Reviewed By: eugenis

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2067

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
a263425653a44ea823e2e071a7d1ab686b47c570 30-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Update comment in sanitizer_symbolizer.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193700 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
e00495aa0f3b114c7b764769d9450e5d2efb8e64 30-Oct-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use SpinMutex for Symbolizer initialization (per dvyukov's suggestion)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193697 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
c1a1ed62228288155459d39194995a36aca4a8a6 26-Oct-2013 Peter Collingbourne <peter@pcc.me.uk> Overhaul the symbolizer interface.

This moves away from creating the symbolizer object and initializing the
external symbolizer as separate steps. Those steps now always take place
together.

Sanitizers with a legacy requirement to specify their own symbolizer path
should use InitSymbolizer to initialize the symbolizer with the desired
path, and GetSymbolizer to access the symbolizer. Sanitizers with no
such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for
initialization.

The symbolizer interface has been made thread-safe (as far as I can
tell) by protecting its member functions with mutexes.

Finally, the symbolizer interface no longer relies on weak externals, the
introduction of which was probably a mistake on my part.

Differential Revision: http://llvm-reviews.chandlerc.com/D1985

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193448 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
665efa967845cc2a84520187bab5bfed3c053221 11-Sep-2013 Daniel Jasper <djasper@google.com> Revert r190520 as it wasn't the right fix.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
a81787d0182ee8d4f430d509322281acdf77391d 11-Sep-2013 Daniel Jasper <djasper@google.com> Add empty virtual destructor...

... as this otherwise triggers -Wnon-virtual-dtor.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
7847d77b246635211c3bf465421d49d7af5226c1 10-Sep-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Refactor symbolization interface: use class instead of several functions. Move some code around to get rid of extra source files

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
68c016aea0b61f649b9d9ba65c7d7217e0c0f6cb 03-Sep-2013 Alexey Samsonov <samsonov@google.com> ASan, LSan, MSan: try to find llvm-symbolizer binary in PATH if it is not provided. Now we don't need to explicitly set the location of llvm-symbolizer in lit test configs.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
3c80c6c574850106481f82b9e23d1c728458d4a9 13-Aug-2013 Timur Iskhodzhanov <timurrrr@google.com> Define SANITIZER_INTERFACE_ATTRIBUTE on Windows and fix all the places where SANITIZER_INTERFACE_ATTRIBUTE or SANITIZER_ATTRIBUTE_WEAK are used

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188261 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
6b30cf07c92eafecf5d06ae6cafa7b60f4ed7512 28-Jun-2013 Alexey Samsonov <samsonov@google.com> Demangle names using pluggable internal symbolizer if possible

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185146 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
d64bcf43935c9ceeb7376ca4185662811ae907ea 11-Jun-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] support running external llvm-symbolizer on Mac

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
51c963a812ca2fd24a72e17d1b5c127f4f9290bd 29-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Unweak SymbolizerPrepareForSandboxing and move it to libc-independent part.

Fixes the Go build.

Differential Revision: http://llvm-reviews.chandlerc.com/D877

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182851 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
8a4f89ab04ae6075d50eb1d95c8dd80f0bf198b1 28-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Make SymbolizerPrepareForSandboxing weak and optional.

Differential Revision: http://llvm-reviews.chandlerc.com/D872

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
c09c9017cedda2ab23d834318176df2afa720804 27-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Make AddressInfo::Clear a weak function.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
5ce93fc96ab5e2defd85890da63b51cc4c57a2af 23-May-2013 Alexander Potapenko <glider@google.com> [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
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
8b3af3a0e9426e9e0b2986b97360bd820ef05c7f 21-May-2013 Peter Collingbourne <peter@pcc.me.uk> [nolibc] Move symbolizer to RTSanitizerCommonLibc, and make it optional using a weak symbol.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
f931da85ce8668751628ded926ecad013c5d6f1a 15-May-2013 Kostya Serebryany <kcc@google.com> [asan] fix powerpc build and one test; fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
d1470cbaab10715511c83b91dfdefe59d98fa595 14-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Filtering in GetListOfModules.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
7fac284c9d3aab4c28b422315731b12a5af9fc4e 19-Mar-2013 Dmitry Vyukov <dvyukov@google.com> tsan: symbolizer "flush caches" functinality



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177388 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
90a2467c0a0722dcc9443229b8805f0a878ccb56 29-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
5a1f23310cc4a1debae8741653defe620518e612 11-Jan-2013 Dmitry Vyukov <dvyukov@google.com> tsan: symbolize global variables


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
ab6374326389ff649ad857842b45488721c949db 20-Dec-2012 Richard Smith <richard-llvm@metafoo.co.uk> Move C++ name demangling support from ubsan into sanitizer_common.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@170666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
433c219f8772c35dc4e6bd32bb4131dbc07fdfd6 03-Dec-2012 Dmitry Vyukov <dvyukov@google.com> tsan: describe global vars (module+offset for now)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@169122 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
e98723f73d2a09b7305b7848238c64df56439cfb 17-Oct-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] symbolizer: increase the maximal number of shared libraries to 16K

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
03e699f8c6ae2edab70c9db0b0c1e1d40025fa71 06-Sep-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] remove unused field

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
38e853db8353285da16416885da42219fee701c4 04-Sep-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Support for reading inlined frames from llvm-symbolizer

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
9c6e5303fa025a73a09cee0766ae403909b1bb8b 23-Aug-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Switch the symbolization strategy that would be used by sanitizer tools family: as compiling in-process symbolizer into runtime involves certain difficulties, we may instead launch an external symbolizer program (fork + execl) in a subprocess and communicate with it via pipe.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
41df5652a12b45998111ca2aca09fc0c63674684 31-Jul-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Wrapper around llvm::DIContext from LLVM DebugInfo library. If a macro SANITIZER_USES_LLVM_LIBS is defined (by default it is not), then sanitizer runtime includes llvm headers and tries to use LLVM libs for in-process symbolization. To make it functional, we have to link with these LLVM libs - either pass them to linker from Clang driver, or link them into static ASan runtime when we build it.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@161045 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
75983dd851e39e5ba70edeeda19cfaedbd114cb3 19-Jul-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] When obtaining the data for loaded modules, add address ranges of loadable segments only. Looks like address range of PT_TLS segment may intersect with loadable segments of other modules.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@160498 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
c4a3ff32a4ebc7710c8975b9de532493aadcf982 05-Jul-2012 Alexey Samsonov <samsonov@google.com> [ASan] Add a default constructor for DWARFSection to initialize it with zeros.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
a68633fb76208137ccb807914df52758ee5ca6f0 03-Jul-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
fa82b0887fd558b77a856730a0656460d5bf078d 15-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] Use ProcessMaps in symbolizer to get module name and offset for instruction address

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158522 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
94b5036ee6ba866e1702848855b6d687d1e70afa 05-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer] rename sanitizer_defs.h to sanitizer_internal_defs.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
4e6c6c75a241644c52fd6e62ff3ad7aef7f5c523 04-Jun-2012 Alexey Samsonov <samsonov@google.com> [Sanitizer_common] fix filenames in comments

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h
2f7d82687c99d468aa845ed68d88910710cc51ec 01-Jun-2012 Alexey Samsonov <samsonov@google.com> Stub files for common symbolizer for AddressSanitizer and ThreadSanitizer tools.
It is an analogue of addr2line utility and should allow to map instruction address to a location
in source code at run-time. It should use debug information (in DWARF) in a binary, and hopefully
it would be possible to re-use code from llvm/DebugInfo/DIContext.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157806 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h