https://bugs.llvm.org/show_bug.cgi?id=41846

            Bug ID: 41846
           Summary: llvm-dwarfdump errors on arm-gcc ELF
           Product: tools
           Version: 8.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-dwarfdump
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

extern "C"
int _exit(){}
int main() {}
class HardwareSerial3 {
int available() { }
};
void yield() {}

built with Ubuntu 19.04 arm-gcc (7.3.1):

arm-none-eabi-g++ -o main.cpp.o -c -fno-exceptions -felide-constructors
-fno-rtti -std=gnu++14 -Wno-error=narrowing -flto -g -ffunction-sections
-fdata-sections -mthumb -mcpu=cortex-m4 -nostdlib -O2 main.cpp
arm-none-eabi-g++ -o firmware.elf -g -Wl,--gc-sections,--relax -mthumb
-mcpu=cortex-m4 -O2 --specs=nano.specs -Wl,--start-group main.cpp.o -lm
-lstdc++ -Wl,--end-group

llvm-dwarfdump-8 --verify firmware.elf

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to