[llvm] [memprof] Add extractCallsFromIR (PR #115218)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 14:50:31 PST 2024


================
@@ -57,6 +57,41 @@ class MemProfUsePass : public PassInfoMixin<MemProfUsePass> {
   IntrusiveRefCntPtr<vfs::FileSystem> FS;
 };
 
+namespace memprof {
+
+struct LineLocation {
+  LineLocation(uint32_t L, uint32_t D) : LineOffset(L), Column(D) {}
+
+  void print(raw_ostream &OS) const;
+  void dump() const;
----------------
snehasish wrote:

These are declared but not defined? Should we just drop these?

https://github.com/llvm/llvm-project/pull/115218


More information about the llvm-commits mailing list