Modify $SHOBJSUFFIX to make gcc and clang generate different .dwo files for static and dynamic object files

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • Dev Tools 2019-05-06, Dev Tools 2019-04-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently static objects use basename.o and dynamic objects use basename.os. Unfortunately both gcc and clang use basename.dwo for the output of -gsplit-dwarf which results in the same file for both static and dynamic objects. The simplest solution involves altering the apparent basename for at least one of them by making the SUFFIX have multiple extensions, such as .dyn.os.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: