Add support for _symval built-in function to tiarmclang

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: Medium

      The attached test case has this line ...

          f2(_symval(&linker_symbol));
      

      The built-in function _symval is documented.

      Build it ...

      % tiarmclang -S file.c
      file.c:9:8: warning: implicit declaration of function '_symval' is invalid in C99 [-Wimplicit-function-declaration]
          f2(_symval(&linker_symbol));
             ^
      1 warning generated.
      

      Inspect the generated assembly to see that a function named _symval is called.

      % findstr _symval file.s
              bl      _symval
              .addrsig_sym _symval
      

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-3957 - Add support for _symval built-in fu...
                SYNCHRONIZED
                • Last Sync Date: