[compiler-rt] r182743 - [nolibc] Make AddressInfo::Clear a weak function.
Peter Collingbourne
peter at pcc.me.uk
Mon May 27 14:00:36 PDT 2013
Author: pcc
Date: Mon May 27 16:00:36 2013
New Revision: 182743
URL: http://llvm.org/viewvc/llvm-project?rev=182743&view=rev
Log:
[nolibc] Make AddressInfo::Clear a weak function.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h?rev=182743&r1=182742&r2=182743&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h Mon May 27 16:00:36 2013
@@ -43,7 +43,7 @@ struct AddressInfo {
internal_memset(this, 0, sizeof(AddressInfo));
}
// Deletes all strings and sets all fields to zero.
- void Clear();
+ void Clear() SANITIZER_WEAK_ATTRIBUTE;
void FillAddressAndModuleInfo(uptr addr, const char *mod_name,
uptr mod_offset) {
More information about the llvm-commits
mailing list