summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-08-31 15:56:49 +0000
committerReid Kleckner <rnk@google.com>2017-08-31 15:56:49 +0000
commit08f5fd51cc1690c86bac2f1dd841d27da2eefe44 (patch)
tree1d0792b0d3d2da9dd2f1b61d7d919e474c394b8b /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
parent341317fda43ba257be63836d6ddb3e3d3865ac33 (diff)
downloadbcm5719-llvm-08f5fd51cc1690c86bac2f1dd841d27da2eefe44.tar.gz
bcm5719-llvm-08f5fd51cc1690c86bac2f1dd841d27da2eefe44.zip
[codeview] Generalize DIExpression parsing to handle load chains
Summary: Hopefully this also clarifies exactly when and why we're rewriting certiain S_LOCALs using reference types: We're using the reference type to stand in for a zero-offset load. Reviewers: inglorion Subscribers: llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D37309 llvm-svn: 312247
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
index 4345bb4d1c2..fe4f0a0092c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
@@ -94,7 +94,7 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase {
struct LocalVariable {
const DILocalVariable *DIVar = nullptr;
SmallVector<LocalVarDefRange, 1> DefRanges;
- bool Deref = false;
+ bool UseReferenceType = false;
};
struct InlineSite {
OpenPOWER on IntegriCloud