[llvm] [ASan] Add metadata to renamed instructions so ASan doesn't use the i… (PR #119387)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 07:22:45 PST 2024


================
@@ -123,6 +123,12 @@ ValueName *ValueSymbolTable::createValueName(StringRef Name, Value *V) {
   }
 
   // Otherwise, there is a naming conflict.  Rename this value.
+  // If we are renaming an instruction, ASan needs to know for it to serialize properly
----------------
goussepi wrote:

not sure about the terminology, renaming a symbol rather than an instruction ? Not sure I am reading it correctly, did you mean "ASan needs to know this" ?

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


More information about the llvm-commits mailing list