[PATCH] D25927: [cfi] Implement cfi-icall using inline assembly.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 14:19:29 PDT 2016


eugenis added inline comments.


================
Comment at: lib/Transforms/IPO/LowerTypeTests.cpp:700
 
+void LowerTypeTestsModule::addUsed(ArrayRef<Function *> Functions) {
+  GlobalVariable *GV = M.getGlobalVariable("llvm.used");
----------------
pcc wrote:
> http://llvm-cs.pcc.me.uk/?q=setSection.*llvm.metadata
> 
> We have code like this all over the place. May I ask you to add a general utility function for this?
D25965


Repository:
  rL LLVM

https://reviews.llvm.org/D25927





More information about the llvm-commits mailing list