[PATCH] D80831: [XCOFF][AIX] Use '.L' instead of 'L' for PrivateGlobalPrefix

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 13:06:55 PDT 2020


hubert.reinterpretcast added inline comments.
Herald added a subscriber: wuzish.


================
Comment at: llvm/lib/MC/MCAsmInfoXCOFF.cpp:18
+  PrivateGlobalPrefix = ".L";
+  PrivateLabelPrefix = ".L";
   SupportsQuotedNames = false;
----------------
Since `.` gets appended for function entry points, `.L` is not all that "reserved". I am not sure that it makes sense to use `.L` except for inertia. It seems adding the dot after the `L` would work better?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80831/new/

https://reviews.llvm.org/D80831





More information about the llvm-commits mailing list