[PATCH] D42618: [LLVM-C] Add Accessors For A Module's Source File Name

Amaury SECHET via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 04:00:32 PST 2018


deadalnix added inline comments.


================
Comment at: tools/llvm-c-test/echo.cpp:938
+  LLVMSetSourceFileName(M, SourceFileName, SourceFileLen);
+  LLVMSetModuleIdentifier(M, ModuleName, ModuleIdentLen);
 
----------------
There should be some module that actually check this code ran properly by having a filename defined in there.


Repository:
  rL LLVM

https://reviews.llvm.org/D42618





More information about the llvm-commits mailing list