[llvm-bugs] [Bug 30482] New: Linkmap CFString references should indicate the string they refer to.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 21 15:31:19 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30482
Bug ID: 30482
Summary: Linkmap CFString references should indicate the string
they refer to.
Product: lld
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: MachO
Assignee: unassignedbugs at nondot.org
Reporter: dmaclach at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17330
--> https://llvm.org/bugs/attachment.cgi?id=17330&action=edit
Source file for test
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
// insert code here...
NSLog(@"Hello, World!");
}
return 0;
}
clang -o test main.m -framework Foundation -Xlinker -map -Xlinker map.txt
Inside map.txt there is the CFString reference
0x100001028 0x00000020 [ 1] CFString
but it doesn't tell me what string it refers to (unlike the literal string
reference -> 0x100000FA2 0x0000000E [ 1] literal string: Hello,
World!)
I'm sure that older linkmaps used to provide this (somewhat proof:
http://lists.apple.com/archives/xcode-users/2010/Mar/msg00104.html)
This would make working with linkmaps much nicer.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160921/1ef03c96/attachment.html>
More information about the llvm-bugs
mailing list