Skip to content

Commit b1ee425

Browse files
authored
Merge pull request #66 from schweitzpgi/release_70
fixes a bug with COMMON blocks when both debug and optimizations are on
2 parents 4a398bf + e35c28b commit b1ee425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AsmParser/LLParser.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4726,7 +4726,7 @@ bool LLParser::ParseDITemplateValueParameter(MDNode *&Result, bool IsDistinct) {
47264726
/// isDefinition: true, declaration: !3, align: 8)
47274727
bool LLParser::ParseDIGlobalVariable(MDNode *&Result, bool IsDistinct) {
47284728
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED) \
4729-
REQUIRED(name, MDStringField, (/* AllowEmpty */ true)); \
4729+
OPTIONAL(name, MDStringField, (/* AllowEmpty */ true)); \
47304730
OPTIONAL(scope, MDField, ); \
47314731
OPTIONAL(linkageName, MDStringField, ); \
47324732
OPTIONAL(file, MDField, ); \

0 commit comments

Comments
 (0)