aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAleksandr Urakov <Aleksandr.Urakov@jetbrains.com>2020-06-25 11:22:05 +0300
committerAleksandr Urakov <Aleksandr.Urakov@jetbrains.com>2020-06-25 11:27:16 +0300
commit895529cfd8756e2b4dc609f5af92e0d8ae280ed8 (patch)
tree71913dce28735449cd5add00df31ec560c35039e /clang/lib/CodeGen/CodeGenFunction.cpp
parent2c061998b55707b1b6f3a587ccc155fbbebd0a4e (diff)
downloadllvm-895529cfd8756e2b4dc609f5af92e0d8ae280ed8.zip
llvm-895529cfd8756e2b4dc609f5af92e0d8ae280ed8.tar.gz
llvm-895529cfd8756e2b4dc609f5af92e0d8ae280ed8.tar.bz2
[lldb][PDB] Constexpr static member values as AST literals
Summary: When evaluating an expression referencing a constexpr static member variable, an error is issued because the PDB does not specify a symbol with an address that can be relocated against. Rather than attempt to resolve the variable's value within the IR execution, the values of all constants can be looked up and incorporated into the AST of the record type as a literal, mirroring the original compiler AST. This change applies to DIA and native PDB loaders. Patch By: jackoalan Reviewers: aleksandr.urakov, jasonmolenda, zturner, jdoerfert, teemperor Reviewed By: aleksandr.urakov Subscribers: sstefan1, lldb-commits, llvm-commits, #lldb Tags: #lldb, #llvm Differential Revision: https://reviews.llvm.org/D82160
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions