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: unassignedb...@nondot.org
          Reporter: dmacl...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to