Comment #9 on issue 254 by [email protected]: dyld: Symbol not found:
___asan_mapping_offset, when running ASanified binary
http://code.google.com/p/address-sanitizer/issues/detail?id=254
Looks like exported_symbols_list has the same behavior as exported_symbol
but is more convenient for longer lists.
From man ld:
-exported_symbols_list filename
The specified filename contains a list of global symbol
names that will remain as global symbols in the output file. All other
global symbols will be treated
as if they were marked as __private_extern__ (aka
visibility=hidden) and will not be global in the output file. The symbol
names listed in filename must be
one per line. Leading and trailing white space are not
part of the symbol name. Lines starting with # are ignored, as are lines
with only white space. Some
wildcards (similar to shell file matching) are supported.
The * matches zero or more characters. The ? matches one character. [abc]
matches one character
which must be an 'a', 'b', or 'c'. [a-z] matches any
single lower case letter from 'a' to 'z'.
-exported_symbol symbol
The specified symbol is added to the list of global
symbols names that will remain as global symbols in the output file. This
option can be used multiple
times. For short lists, this can be more convenient than
creating a file and using -exported_symbols_list.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.