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
    Classification: Unclassified

Created attachment 17330
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,

I'm sure that older linkmaps used to provide this (somewhat proof:

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

Reply via email to