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

            Bug ID: 23375
           Summary: Regression(r236060): Building .S files in android asan
                    mode is broken
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Repro:

$ curl
'https://boringssl.googlesource.com/boringssl/+/master/crypto/chacha/chacha_vec_arm.S?format=TEXT'
| base64 --decode > tmp.S

$ path/to/clang    -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16
-mfloat-abi=softfp -mthumb -no-integrated-as
-B/path/to/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
-marm  -fsanitize=address -fsanitize=leak 
--sysroot=path/to/third_party/android_tools/ndk//platforms/android-14/arch-arm 
-target arm-linux-androideabi -mllvm -asan-globals=0    -c tmp.S -o tmp.o

$ path/to/clang -shared -fPIC
-B/path/to/third_party/binutils/Linux_x64/Release/bin -fuse-ld=gold
-fsanitize=address -fsanitize=leak  
--sysroot=path/to/third_party/android_tools/ndk//platforms/android-14/arch-arm
-nostdlib  -target arm-linux-androideabi tmp.o

Used to work. Now:

error:
/usr/local/google/home/thakis/src/llvm-build/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.asan-arm-android.so
uses VFP register arguments, output does not

(libclang_rt.asan-arm-android.so was built with the same clang as the output
files, but possibly with different fp flags.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to