aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@apple.com>2025-05-09 17:06:36 +1000
committerLang Hames <lhames@apple.com>2025-05-09 17:30:42 +1000
commitb0979b8c65d76cc1897e97b9ad091d8d99abdd18 (patch)
treed8eb5c908105b663acf0f6a1ffe01e58f8f13ec2 /clang/lib/CodeGen/CodeGenModule.cpp
parent60b62c65bd693fa104d913bb401de3b992902520 (diff)
downloadllvm-b0979b8c65d76cc1897e97b9ad091d8d99abdd18.zip
llvm-b0979b8c65d76cc1897e97b9ad091d8d99abdd18.tar.gz
llvm-b0979b8c65d76cc1897e97b9ad091d8d99abdd18.tar.bz2
[ORC] Add optional context string to duplicate symbol definition errors.
The context string can be added to indicate the source of the duplicate definition. E.g. if the context is set to "foo2.o", then: "Duplicate definition of symbol 'foo'" becomes "In foo2.o, duplicate definition of symbol 'foo'". The JITDylib::defineImpl method is updated to use the name of the MaterializationUnit being added as the context string for duplicate definition errors. The JITDylib::defineMaterializing method is updated to use "defineMaterializing operation" as the conext string.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions