appujee
appujee
D159101 has landed https://github.com/llvm/llvm-project/commit/847de9c332775d1841fec9fea5cb5c41592a4c8f. Is D62732 still needed @SiFiveHolland?
i can repro with the files provided above $ ~/aosp-master-with-phones/prebuilts/clang/host/linux-x86/clang-r450784d1/bin/clang ~/g/bugs/ndk-1817/entry.s -c -o entry.o -target armv7-linux-android33 --sysroot ~/llvm-toolchain/toolchain/prebuilts/ndk/r25/toolchains/llvm/prebuilt/linux-x86_64/sysroot $ ~/aosp-master-with-phones/prebuilts/clang/host/linux-x86/clang-r450784d1/bin/clang -nostartfiles -nodefaultlibs -nostdlib -Wl,-T,test.ld entry.o -o test.elf -fuse-ld=lld -target armv7-linux-android33...
yeah, i'd also suggest creating a new issue.
Reference to sourceware implementation: https://inbox.sourceware.org/binutils/DS7PR12MB576522B309E27EBA26708A85CB1BA@DS7PR12MB5765.namprd12.prod.outlook.com/T/
Support for RISC-V TLSDESC Relocations has landed in llvm: https://github.com/llvm/llvm-project/pull/66916 Thanks to @ilovepi and @MaskRay
> How is the NDK generating order files? At Meta, we introduced a lightweight IR PRO instrumentation mode specifically for mobile and Yeah, we are using the `-forder-file-instrumentation` to generate...
just finished reading: https://discourse.llvm.org/t/rfc-temporal-profiling-extension-for-irpgo/68068. Is there a plan to deprecate the `-forder-file-instrumentation` ? If we have a way to merge multiple profraw files (with orderfile data), everything on our end...
It makes sense to support both order file collection modes. The advantage with using `-forder-file-instrumentation` is that older toolchains can also use it but in the long term we'll be...
Update: https://android-developers.googleblog.com/2023/11/orderfiles-in-android.html has the details of our implementation along with links to scripts and documentation.
It doesn't look like a regression from previous compiler: https://godbolt.org/z/P8j4GnhYE This has been fixed recently in upstream clang.