[all-commits] [llvm/llvm-project] 316819: [ObjC]: Make type encoding safe in symbol names (#...

Frederik Carlier via All-commits all-commits at lists.llvm.org
Fri Jan 12 01:03:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3168192de567815c511e384707a3a5063b81189b
      https://github.com/llvm/llvm-project/commit/3168192de567815c511e384707a3a5063b81189b
  Author: Frederik Carlier <frederik.carlier at keysight.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M clang/lib/CodeGen/CGObjCGNU.cpp
    M clang/test/CodeGenObjC/dllstorage.m
    M clang/test/CodeGenObjC/encode-test-6.m

  Log Message:
  -----------
  [ObjC]: Make type encoding safe in symbol names (#77797)

Type encodings are part of symbol names in the Objective C ABI. Replace
characters which are reseved in symbol names:

- ELF: avoid including '@' characters in type encodings
- Windows: avoid including '=' characters in type encodings




More information about the All-commits mailing list