[llvm-bugs] [Bug 41846] New: llvm-dwarfdump errors on arm-gcc ELF

via llvm-bugs llvm-bugs at lists.llvm.org
Sat May 11 21:50:57 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: trass3r at gmail.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190512/0899dde5/attachment.html>


More information about the llvm-bugs mailing list