[PATCH] D19137: [cfi] Support explicit sections for functions in cfi-icall.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 19:31:48 PDT 2016


pcc added a comment.

Please add "Fixes PR25079." to commit message.


================
Comment at: lib/Transforms/IPO/LowerBitSets.cpp:642
@@ -641,3 +641,1 @@
     report_fatal_error("Bit set element may not be thread-local");
-  if (OpGlobal->hasSection())
-    report_fatal_error("Bit set element may not have an explicit section");
----------------
Instead of removing this check, please change it to allow functions but not global variables.


Repository:
  rL LLVM

http://reviews.llvm.org/D19137





More information about the llvm-commits mailing list