Skip to content
  • Olivier Goffart's avatar
    fc8f8931
    Fix assertion on asm register that are "%" · fc8f8931
    Olivier Goffart authored
    Name might be empty again after we removed the '%' prefix
    and Name[0] would assert.
    
    Found on code like
    register int foo asm("%" MACRO);
    where MACRO was supposed to be defined in a header file that was not found.
    
    llvm-svn: 215834
    fc8f8931
    Fix assertion on asm register that are "%"
    Olivier Goffart authored
    Name might be empty again after we removed the '%' prefix
    and Name[0] would assert.
    
    Found on code like
    register int foo asm("%" MACRO);
    where MACRO was supposed to be defined in a header file that was not found.
    
    llvm-svn: 215834
Loading