================
@@ -414,12 +416,25 @@ static void serializeReference(const Reference &Ref, 
Object &ReferenceObj) {
   }
 }
 
+static void serializeMDReference(const Reference &Ref, Object &ReferenceObj,
+                                 StringRef BasePath) {
+  serializeReference(Ref, ReferenceObj);
+  SmallString<64> Path = Ref.getRelativeFilePath(BasePath);
----------------
evelez7 wrote:

I figured this out. I had a static lambda that captured the first path and 
every other invocation used that path. Should be solved now. 

https://github.com/llvm/llvm-project/pull/177221
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to