[PATCH] D102693: Do not create LLVM IR `constant`s for objects with dynamic initialisation

Momchil Velikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 25 04:26:19 PDT 2021


chill updated this revision to Diff 347631.
chill added a comment.
This revision is now accepted and ready to land.

Updated a test to run for `x86_64-linux` instead of `%itanium_abi_triple`, to avoid having invalid
syntax for MACH-O sections. The patch itself does not care about section attribute syntax and x86 target
does not even need to be compiled.


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

https://reviews.llvm.org/D102693

Files:
  clang/lib/Sema/SemaDecl.cpp
  clang/test/CodeGenCXX/clang-sections-1.cpp
  clang/test/CodeGenCXX/const-dynamic-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102693.347631.patch
Type: text/x-patch
Size: 8411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210525/4206c94c/attachment.bin>


More information about the cfe-commits mailing list