summaryrefslogtreecommitdiff
path: root/third_party/llvm-project/include
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2020-11-13 12:24:36 -0800
committerGitHub <noreply@github.com>2020-11-13 12:24:36 -0800
commitcc2b3e4175a6edc53487eec06da13b39eb66716b (patch)
tree3cc3aca2957c1755f19a1f16a22397d6e83dcab5 /third_party/llvm-project/include
parent0497619b7e6bc449f07778576ed53ff8297d66e3 (diff)
downloadbinaryen-cc2b3e4175a6edc53487eec06da13b39eb66716b.tar.gz
binaryen-cc2b3e4175a6edc53487eec06da13b39eb66716b.tar.bz2
binaryen-cc2b3e4175a6edc53487eec06da13b39eb66716b.zip
[wasm64] fix for Memory64Lowering affecting DWARF data (#3348)
We change the AddrSize which causes all DW_FORM_addr to be written differently. Depends on https://reviews.llvm.org/D91395
Diffstat (limited to 'third_party/llvm-project/include')
-rw-r--r--third_party/llvm-project/include/llvm/ObjectYAML/DWARFYAML.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/llvm-project/include/llvm/ObjectYAML/DWARFYAML.h b/third_party/llvm-project/include/llvm/ObjectYAML/DWARFYAML.h
index 818bddede..510610123 100644
--- a/third_party/llvm-project/include/llvm/ObjectYAML/DWARFYAML.h
+++ b/third_party/llvm-project/include/llvm/ObjectYAML/DWARFYAML.h
@@ -128,6 +128,7 @@ struct Unit {
llvm::dwarf::UnitType Type; // Added in DWARF 5
uint32_t AbbrOffset;
uint8_t AddrSize;
+ bool AddrSizeChanged = false; // XXX BINARYEN
std::vector<Entry> Entries;
};