[PATCH] D152570: [clang] Apply -fmacro-prefix-map to anonymous tags in template arguments

Zixuan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 19 02:21:06 PDT 2023


zixuan-wu added a comment.

Hi,



================
Comment at: clang/test/CodeGenCXX/macro-prefix-map-lambda.cpp:11
+  auto *s = lambdatest([](){});
+// CHECK: @"__PRETTY_FUNCTION__._Z10lambdatestIZ4mainE3$_0EDaOT_" = private unnamed_addr constant [{{[0-9]+}} x i8] c"auto lambdatest(f &&) [f = (lambda at ./UNLIKELY_PATH/empty{{/|\\\\}}{{.*}}.cpp:[[#@LINE-1]]:24)]\00", align 1
+
----------------
Hi, it's weird that the align in CSKY target is not 1, instead it's 4. Anybody know the key point?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152570



More information about the cfe-commits mailing list