mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[X86AsmParser] Fix msan: use-of-uninitialized-value after r311639
Summary: CodeGen/ms-inline-asm.c test triggers msan use-of-uninitialized-value here: llvm/lib/MC/MCParser/AsmParser.cpp:5629:7 Reviewers: bkramer, coby Differential Revision: https://reviews.llvm.org/D37105 llvm-svn: 311653
This commit is contained in:
parent
53d7c42c6d
commit
8633f74110
@ -115,7 +115,7 @@ public:
|
||||
AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len, StringRef label)
|
||||
: Kind(kind), Loc(loc), Len(len), Val(0), Label(label) {}
|
||||
AsmRewrite(SMLoc loc, unsigned len, IntelExpr exp)
|
||||
: Kind(AOK_IntelExpr), Loc(loc), Len(len), IntelExp(exp) {}
|
||||
: Kind(AOK_IntelExpr), Loc(loc), Len(len), Val(0), IntelExp(exp) {}
|
||||
};
|
||||
|
||||
struct ParseInstructionInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user